#2f0ca2 ≈ Zaffre
#2f0ca2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 18.43% red, 4.71% green and 63.53% blue; printed in CMYK it uses 70.99% cyan, 92.59% magenta, 0% yellow and 36.47% black. Its hue angle is 254°, with 86.21% saturation and 34.12% 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 corporate identities. White text on this color reaches a contrast ratio of 12.39:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.78.
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.0348 |
Shades
#2f0ca2 mixed progressively with black.
Tints
#2f0ca2 mixed progressively with white.
Tones
#2f0ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f0ca2 {
color: #2f0ca2;
}
.bg-2f0ca2 {
background-color: #2f0ca2;
color: #ffffff;
}
.border-2f0ca2 {
border: 2px solid #2f0ca2;
}
:root {
--color-primary: #2f0ca2;
--color-primary-rgb: 47 12 162;
--color-primary-hsl: 254 86% 34%;
}
.gradient-2f0ca2 {
background: linear-gradient(135deg, #2f0ca2, #7a0ca2);
}
.shadow-2f0ca2 {
box-shadow: 0 8px 24px rgb(47 12 162 / 0.35);
}
Zaffre
#2f0ca2 rgb(47, 12, 162) hsl(254, 86%, 34%) Zaffre
#7fa20c rgb(127, 162, 12) hsl(74, 86%, 34%) Apple Green
#a22f0c rgb(162, 47, 12) hsl(14, 86%, 34%) Rufous
#0ca22f rgb(12, 162, 47) hsl(134, 86%, 34%) Islamic Green