#A540DC

#a540dc ≈ Dark Orchid

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#a540dc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 64.71% red, 25.1% green and 86.27% blue; printed in CMYK it uses 25% cyan, 70.91% magenta, 0% yellow and 13.73% black. Its hue angle is 278.85°, with 69.03% saturation and 55.69% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.81:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 4.5.

Description generated from the measured properties of this color.

Conversions of #a540dc 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.1683

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #8962a7 ≈ 0.001% of males
Protanopia #006de0 ≈ 1.01% of males
Deuteranopia #2674d9 ≈ 1.27% of males
Tritanopia #9e638a ≈ 0.0001% of males
Protanomaly #655edf ≈ 1.08% of males
Deuteranomaly #7063da ≈ 4.63% of males
Tritanomaly #a157b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a540dc {
  color: #a540dc;
}
Background
.bg-a540dc {
  background-color: #a540dc;
  color: #ffffff;
}
Border
.border-a540dc {
  border: 2px solid #a540dc;
}
CSS variables
:root {
  --color-primary: #a540dc;
  --color-primary-rgb: 165 64 220;
  --color-primary-hsl: 279 69% 56%;
}
Gradient
.gradient-a540dc {
  background: linear-gradient(135deg, #a540dc, #dc40c5);
}
Colored shadow
.shadow-a540dc {
  box-shadow: 0 8px 24px rgb(165 64 220 / 0.35);
}

Dark Orchid
#a540dc  rgb(165, 64, 220)  hsl(279, 69%, 56%)  Dark Orchid
#77dc40  rgb(119, 220, 64)  hsl(99, 69%, 56%)  Lime Green
#dca540  rgb(220, 165, 64)  hsl(39, 69%, 56%)  Goldenrod
#40dca5  rgb(64, 220, 165)  hsl(159, 69%, 56%)  Caribbean Green