#A402DA

#a402da ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#a402da 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 85.49% blue; printed in CMYK it uses 24.77% cyan, 99.08% magenta, 0% yellow and 14.51% black. Its hue angle is 285°, with 98.18% saturation and 43.14% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.83:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.09.

Description generated from the measured properties of this color.

Conversions of #a402da 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.13

Readable text 5.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #834fa1 ≈ 0.001% of males
Protanopia #005edf ≈ 1.01% of males
Deuteranopia #0068d6 ≈ 1.27% of males
Tritanopia #9e4d80 ≈ 0.0001% of males
Protanomaly #584add ≈ 1.08% of males
Deuteranomaly #6751d8 ≈ 4.63% of males
Tritanomaly #a03cab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Violet
#a402da  rgb(164, 2, 218)  hsl(285, 98%, 43%)  Dark Violet
#38da02  rgb(56, 218, 2)  hsl(105, 98%, 43%)  Lime Green
#daa402  rgb(218, 164, 2)  hsl(45, 98%, 43%)  Goldenrod
#02daa4  rgb(2, 218, 164)  hsl(165, 98%, 43%)  Caribbean Green