#8D21AB

#8d21ab ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#8d21ab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 55.29% red, 12.94% green and 67.06% blue; printed in CMYK it uses 17.54% cyan, 80.7% magenta, 0% yellow and 32.94% black. Its hue angle is 286.96°, with 67.65% saturation and 40% lightness in HSL. It sits between warm and cool, and is 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.15:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 5.63.

Description generated from the measured properties of this color.

Conversions of #8d21ab 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.0969

Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #714881 ≈ 0.001% of males
Protanopia #0051af ≈ 1.01% of males
Deuteranopia #255ba8 ≈ 1.27% of males
Tritanopia #8c4167 ≈ 0.0001% of males
Protanomaly #5543ad ≈ 1.08% of males
Deuteranomaly #604aa9 ≈ 4.63% of males
Tritanomaly #8c3787 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8d21ab {
  color: #8d21ab;
}
Background
.bg-8d21ab {
  background-color: #8d21ab;
  color: #ffffff;
}
Border
.border-8d21ab {
  border: 2px solid #8d21ab;
}
CSS variables
:root {
  --color-primary: #8d21ab;
  --color-primary-rgb: 141 33 171;
  --color-primary-hsl: 287 68% 40%;
}
Gradient
.gradient-8d21ab {
  background: linear-gradient(135deg, #8d21ab, #ab2184);
}
Colored shadow
.shadow-8d21ab {
  box-shadow: 0 8px 24px rgb(141 33 171 / 0.35);
}

Dark Violet
#8d21ab  rgb(141, 33, 171)  hsl(287, 68%, 40%)  Dark Violet
#3fab21  rgb(63, 171, 33)  hsl(107, 68%, 40%)  Kelly Green
#ab8d21  rgb(171, 141, 33)  hsl(47, 68%, 40%)  Dark Goldenrod
#21ab8d  rgb(33, 171, 141)  hsl(167, 68%, 40%)  Jungle Green