#331a9f ≈ Zaffre
#331a9f is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 10.2% green and 62.35% blue; printed in CMYK it uses 67.92% cyan, 83.65% magenta, 0% yellow and 37.65% black. Its hue angle is 251.28°, with 71.89% saturation and 36.27% 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 brand accents. White text on this color reaches a contrast ratio of 11.74:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.16.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0395 |
Shades
#331a9f mixed progressively with black.
Tints
#331a9f mixed progressively with white.
Tones
#331a9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331a9f {
color: #331a9f;
}
.bg-331a9f {
background-color: #331a9f;
color: #ffffff;
}
.border-331a9f {
border: 2px solid #331a9f;
}
:root {
--color-primary: #331a9f;
--color-primary-rgb: 51 26 159;
--color-primary-hsl: 251 72% 36%;
}
.gradient-331a9f {
background: linear-gradient(135deg, #331a9f, #751a9f);
}
.shadow-331a9f {
box-shadow: 0 8px 24px rgb(51 26 159 / 0.35);
}
Zaffre
#331a9f rgb(51, 26, 159) hsl(251, 72%, 36%) Zaffre
#869f1a rgb(134, 159, 26) hsl(71, 72%, 36%) Apple Green
#9f331a rgb(159, 51, 26) hsl(11, 72%, 36%) Rufous
#1a9f33 rgb(26, 159, 51) hsl(131, 72%, 36%) Islamic Green