#331b9b ≈ Zaffre
#331b9b is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 10.59% green and 60.78% blue; printed in CMYK it uses 67.1% cyan, 82.58% magenta, 0% yellow and 39.22% black. Its hue angle is 251.25°, with 70.33% saturation and 35.69% 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.86:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.41.
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.0385 |
Shades
#331b9b mixed progressively with black.
Tints
#331b9b mixed progressively with white.
Tones
#331b9b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b9b {
color: #331b9b;
}
.bg-331b9b {
background-color: #331b9b;
color: #ffffff;
}
.border-331b9b {
border: 2px solid #331b9b;
}
:root {
--color-primary: #331b9b;
--color-primary-rgb: 51 27 155;
--color-primary-hsl: 251 70% 36%;
}
.gradient-331b9b {
background: linear-gradient(135deg, #331b9b, #731b9b);
}
.shadow-331b9b {
box-shadow: 0 8px 24px rgb(51 27 155 / 0.35);
}
Zaffre
#331b9b rgb(51, 27, 155) hsl(251, 70%, 36%) Zaffre
#839b1b rgb(131, 155, 27) hsl(71, 70%, 36%) Olive Drab
#9b331b rgb(155, 51, 27) hsl(11, 70%, 36%) Rufous
#1b9b33 rgb(27, 155, 51) hsl(131, 70%, 36%) Islamic Green