#4212ab ≈ Zaffre
#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.
| 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 luminance | 0.0453 |
Shades
#4212ab mixed progressively with black.
Tints
#4212ab mixed progressively with white.
Tones
#4212ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4212ab {
color: #4212ab;
}
.bg-4212ab {
background-color: #4212ab;
color: #ffffff;
}
.border-4212ab {
border: 2px solid #4212ab;
}
:root {
--color-primary: #4212ab;
--color-primary-rgb: 66 18 171;
--color-primary-hsl: 259 81% 37%;
}
.gradient-4212ab {
background: linear-gradient(135deg, #4212ab, #8e12ab);
}
.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