#8A18CD

#8a18cd ≈ Dark Violet

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

#8a18cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 9.41% green and 80.39% blue; printed in CMYK it uses 32.68% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 277.79°, with 79.04% saturation and 44.9% 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 6.79:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 1.63.

Description generated from the measured properties of this color.

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

Readable text 6.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #714996 ≈ 0.001% of males
Protanopia #0058d1 ≈ 1.01% of males
Deuteranopia #005cca ≈ 1.27% of males
Tritanopia #7e4f7a ≈ 0.0001% of males
Protanomaly #4346d0 ≈ 1.08% of males
Deuteranomaly #4f49cb ≈ 4.63% of males
Tritanomaly #8340a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a18cd {
  color: #8a18cd;
}
Background
.bg-8a18cd {
  background-color: #8a18cd;
  color: #ffffff;
}
Border
.border-8a18cd {
  border: 2px solid #8a18cd;
}
CSS variables
:root {
  --color-primary: #8a18cd;
  --color-primary-rgb: 138 24 205;
  --color-primary-hsl: 278 79% 45%;
}
Gradient
.gradient-8a18cd {
  background: linear-gradient(135deg, #8a18cd, #cd18b5);
}
Colored shadow
.shadow-8a18cd {
  box-shadow: 0 8px 24px rgb(138 24 205 / 0.35);
}

Dark Violet
#8a18cd  rgb(138, 24, 205)  hsl(278, 79%, 45%)  Dark Violet
#5bcd18  rgb(91, 205, 24)  hsl(98, 79%, 45%)  Lime Green
#cd8a18  rgb(205, 138, 24)  hsl(38, 79%, 45%)  Dark Goldenrod
#18cd8a  rgb(24, 205, 138)  hsl(158, 79%, 45%)  Caribbean Green