#4212AB

#4212ab ≈ Zaffre

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#4212ab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.88% red, 7.06% green and 67.06% blue; printed in CMYK it uses 61.4% cyan, 89.47% magenta, 0% yellow and 32.94% black. Its hue angle is 258.82°, with 80.95% saturation and 37.06% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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 11.02:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.68.

Description generated from the measured properties of this color.

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

Readable text 11.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #3f3079 ≈ 0.001% of males
Protanopia #0040af ≈ 1.01% of males
Deuteranopia #0037a9 ≈ 1.27% of males
Tritanopia #004664 ≈ 0.0001% of males
Protanomaly #0033ad ≈ 1.08% of males
Deuteranomaly #002caa ≈ 4.63% of males
Tritanomaly #253886 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4212ab {
  color: #4212ab;
}
Background
.bg-4212ab {
  background-color: #4212ab;
  color: #ffffff;
}
Border
.border-4212ab {
  border: 2px solid #4212ab;
}
CSS variables
:root {
  --color-primary: #4212ab;
  --color-primary-rgb: 66 18 171;
  --color-primary-hsl: 259 81% 37%;
}
Gradient
.gradient-4212ab {
  background: linear-gradient(135deg, #4212ab, #8e12ab);
}
Colored shadow
.shadow-4212ab {
  box-shadow: 0 8px 24px rgb(66 18 171 / 0.35);
}

Zaffre
#4212ab  rgb(66, 18, 171)  hsl(259, 81%, 37%)  Zaffre
#7bab12  rgb(123, 171, 18)  hsl(79, 81%, 37%)  Apple Green
#ab4212  rgb(171, 66, 18)  hsl(19, 81%, 37%)  Rust
#12ab42  rgb(18, 171, 66)  hsl(139, 81%, 37%)  Medium Sea Green