#A402E2

#a402e2 ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#a402e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 64.31% red, 0.78% green and 88.63% blue; printed in CMYK it uses 27.43% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 283.39°, with 98.25% saturation and 44.71% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.7:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #a402e2 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.1343

Readable text 5.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #8450a7 ≈ 0.001% of males
Protanopia #0061e7 ≈ 1.01% of males
Deuteranopia #0069de ≈ 1.27% of males
Tritanopia #9b5285 ≈ 0.0001% of males
Protanomaly #544be5 ≈ 1.08% of males
Deuteranomaly #6452e0 ≈ 4.63% of males
Tritanomaly #9f3fb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a402e2 {
  color: #a402e2;
}
Background
.bg-a402e2 {
  background-color: #a402e2;
  color: #ffffff;
}
Border
.border-a402e2 {
  border: 2px solid #a402e2;
}
CSS variables
:root {
  --color-primary: #a402e2;
  --color-primary-rgb: 164 2 226;
  --color-primary-hsl: 283 98% 45%;
}
Gradient
.gradient-a402e2 {
  background: linear-gradient(135deg, #a402e2, #e202b0);
}
Colored shadow
.shadow-a402e2 {
  box-shadow: 0 8px 24px rgb(164 2 226 / 0.35);
}

Dark Violet
#a402e2  rgb(164, 2, 226)  hsl(283, 98%, 45%)  Dark Violet
#40e202  rgb(64, 226, 2)  hsl(103, 98%, 45%)  Lime Green
#e2a402  rgb(226, 164, 2)  hsl(43, 98%, 45%)  Goldenrod
#02e2a4  rgb(2, 226, 164)  hsl(163, 98%, 45%)  Caribbean Green