#8A22AD

#8a22ad ≈ Dark Violet

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

#8a22ad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 13.33% green and 67.84% blue; printed in CMYK it uses 20.23% cyan, 80.35% magenta, 0% yellow and 32.16% black. Its hue angle is 284.89°, with 67.15% saturation and 40.59% 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 7.21:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 5.3.

Description generated from the measured properties of this color.

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

Readable text 7.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #6f4782 ≈ 0.001% of males
Protanopia #0051b1 ≈ 1.01% of males
Deuteranopia #1c5aaa ≈ 1.27% of males
Tritanopia #874368 ≈ 0.0001% of males
Protanomaly #5243af ≈ 1.08% of males
Deuteranomaly #5d49ab ≈ 4.63% of males
Tritanomaly #883989 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a22ad {
  color: #8a22ad;
}
Background
.bg-8a22ad {
  background-color: #8a22ad;
  color: #ffffff;
}
Border
.border-8a22ad {
  border: 2px solid #8a22ad;
}
CSS variables
:root {
  --color-primary: #8a22ad;
  --color-primary-rgb: 138 34 173;
  --color-primary-hsl: 285 67% 41%;
}
Gradient
.gradient-8a22ad {
  background: linear-gradient(135deg, #8a22ad, #ad228b);
}
Colored shadow
.shadow-8a22ad {
  box-shadow: 0 8px 24px rgb(138 34 173 / 0.35);
}

Dark Violet
#8a22ad  rgb(138, 34, 173)  hsl(285, 67%, 41%)  Dark Violet
#45ad22  rgb(69, 173, 34)  hsl(105, 67%, 41%)  Kelly Green
#ad8a22  rgb(173, 138, 34)  hsl(45, 67%, 41%)  Dark Goldenrod
#22ad8a  rgb(34, 173, 138)  hsl(165, 67%, 41%)  Jungle Green