#8A02AA

#8a02aa ≈ Dark Magenta

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#8a02aa is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 54.12% red, 0.78% green and 66.67% blue; printed in CMYK it uses 18.82% cyan, 98.82% magenta, 0% yellow and 33.33% black. Its hue angle is 288.57°, with 97.67% saturation and 33.73% 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 corporate identities. White text on this color reaches a contrast ratio of 7.87:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 5.36.

Description generated from the measured properties of this color.

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

Readable text 7.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #6d3f7f ≈ 0.001% of males
Protanopia #004bae ≈ 1.01% of males
Deuteranopia #0755a7 ≈ 1.27% of males
Tritanopia #883863 ≈ 0.0001% of males
Protanomaly #4e3aac ≈ 1.08% of males
Deuteranomaly #5a42a8 ≈ 4.63% of males
Tritanomaly #892b85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Magenta
#8a02aa  rgb(138, 2, 170)  hsl(289, 98%, 34%)  Dark Magenta
#22aa02  rgb(34, 170, 2)  hsl(109, 98%, 34%)  Kelly Green
#aa8a02  rgb(170, 138, 2)  hsl(49, 98%, 34%)  Dark Goldenrod
#02aa8a  rgb(2, 170, 138)  hsl(169, 98%, 34%)  Jungle Green