#331a9b ≈ Zaffre
#331a9b 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 60.78% blue; printed in CMYK it uses 67.1% cyan, 83.23% magenta, 0% yellow and 39.22% black. Its hue angle is 251.63°, with 71.27% saturation and 35.49% 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.92:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.36.
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.0381 |
Shades
#331a9b mixed progressively with black.
Tints
#331a9b mixed progressively with white.
Tones
#331a9b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331a9b {
color: #331a9b;
}
.bg-331a9b {
background-color: #331a9b;
color: #ffffff;
}
.border-331a9b {
border: 2px solid #331a9b;
}
:root {
--color-primary: #331a9b;
--color-primary-rgb: 51 26 155;
--color-primary-hsl: 252 71% 35%;
}
.gradient-331a9b {
background: linear-gradient(135deg, #331a9b, #741a9b);
}
.shadow-331a9b {
box-shadow: 0 8px 24px rgb(51 26 155 / 0.35);
}
Zaffre
#331a9b rgb(51, 26, 155) hsl(252, 71%, 35%) Zaffre
#829b1a rgb(130, 155, 26) hsl(72, 71%, 35%) Olive Drab
#9b331a rgb(155, 51, 26) hsl(12, 71%, 35%) Rufous
#1a9b33 rgb(26, 155, 51) hsl(132, 71%, 35%) Islamic Green