#A540CB

#a540cb ≈ Dark Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#a540cb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 64.71% red, 25.1% green and 79.61% blue; printed in CMYK it uses 18.72% cyan, 68.47% magenta, 0% yellow and 20.39% black. Its hue angle is 283.6°, with 57.2% saturation and 52.35% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.01:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.87.

Description generated from the measured properties of this color.

Conversions of #a540cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9933cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1598

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #88609c ≈ 0.001% of males
Protanopia #0069cf ≈ 1.01% of males
Deuteranopia #3d72c8 ≈ 1.27% of males
Tritanopia #a25c81 ≈ 0.0001% of males
Protanomaly #6a5ccd ≈ 1.08% of males
Deuteranomaly #7562c9 ≈ 4.63% of males
Tritanomaly #a352a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a540cb {
  color: #a540cb;
}
Background
.bg-a540cb {
  background-color: #a540cb;
  color: #ffffff;
}
Border
.border-a540cb {
  border: 2px solid #a540cb;
}
CSS variables
:root {
  --color-primary: #a540cb;
  --color-primary-rgb: 165 64 203;
  --color-primary-hsl: 284 57% 52%;
}
Gradient
.gradient-a540cb {
  background: linear-gradient(135deg, #a540cb, #cb40ab);
}
Colored shadow
.shadow-a540cb {
  box-shadow: 0 8px 24px rgb(165 64 203 / 0.35);
}

Dark Orchid
#a540cb  rgb(165, 64, 203)  hsl(284, 57%, 52%)  Dark Orchid
#66cb40  rgb(102, 203, 64)  hsl(104, 57%, 52%)  Lime Green
#cba540  rgb(203, 165, 64)  hsl(44, 57%, 52%)  Metallic Gold
#40cba5  rgb(64, 203, 165)  hsl(164, 57%, 52%)  Medium Aquamarine