#A302E2

#a302e2 ≈ Dark Violet

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

#a302e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 0.78% green and 88.63% blue; printed in CMYK it uses 27.88% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 283.13°, 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.73:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.42.

Description generated from the measured properties of this color.

Conversions of #a302e2 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.1332

Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #8350a7 ≈ 0.001% of males
Protanopia #0060e7 ≈ 1.01% of males
Deuteranopia #0068de ≈ 1.27% of males
Tritanopia #9a5285 ≈ 0.0001% of males
Protanomaly #534be5 ≈ 1.08% of males
Deuteranomaly #6352e0 ≈ 4.63% of males
Tritanomaly #9e40b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Violet
#a302e2  rgb(163, 2, 226)  hsl(283, 98%, 45%)  Dark Violet
#41e202  rgb(65, 226, 2)  hsl(103, 98%, 45%)  Lime Green
#e2a302  rgb(226, 163, 2)  hsl(43, 98%, 45%)  Goldenrod
#02e2a3  rgb(2, 226, 163)  hsl(163, 98%, 45%)  Caribbean Green