#A402BC

#a402bc ≈ Dark Violet

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

#a402bc is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 64.31% red, 0.78% green and 73.73% blue; printed in CMYK it uses 12.77% cyan, 98.94% magenta, 0% yellow and 26.27% black. Its hue angle is 292.26°, with 97.89% saturation and 37.25% 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 6.34:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #a402bc 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.1157

Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #814b8e ≈ 0.001% of males
Protanopia #0056c0 ≈ 1.01% of males
Deuteranopia #2964b9 ≈ 1.27% of males
Tritanopia #a53c6e ≈ 0.0001% of males
Protanomaly #6243be ≈ 1.08% of males
Deuteranomaly #704eba ≈ 4.63% of males
Tritanomaly #a52e94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Violet
#a402bc  rgb(164, 2, 188)  hsl(292, 98%, 37%)  Dark Violet
#1abc02  rgb(26, 188, 2)  hsl(112, 98%, 37%)  Kelly Green
#bca402  rgb(188, 164, 2)  hsl(52, 98%, 37%)  Brass
#02bca4  rgb(2, 188, 164)  hsl(172, 98%, 37%)  Light Sea Green