#331b8b ≈ Persian Indigo
#331b8b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.59% green and 54.51% blue; printed in CMYK it uses 63.31% cyan, 80.58% magenta, 0% yellow and 45.49% black. Its hue angle is 252.86°, with 67.47% saturation and 32.55% 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.57:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.07.
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.0335 |
Shades
#331b8b mixed progressively with black.
Tints
#331b8b mixed progressively with white.
Tones
#331b8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b8b {
color: #331b8b;
}
.bg-331b8b {
background-color: #331b8b;
color: #ffffff;
}
.border-331b8b {
border: 2px solid #331b8b;
}
:root {
--color-primary: #331b8b;
--color-primary-rgb: 51 27 139;
--color-primary-hsl: 253 67% 33%;
}
.gradient-331b8b {
background: linear-gradient(135deg, #331b8b, #6b1b8b);
}
.shadow-331b8b {
box-shadow: 0 8px 24px rgb(51 27 139 / 0.35);
}
Persian Indigo
#331b8b rgb(51, 27, 139) hsl(253, 67%, 33%) Persian Indigo
#738b1b rgb(115, 139, 27) hsl(73, 67%, 33%) Olive Drab
#8b331b rgb(139, 51, 27) hsl(13, 67%, 33%) Kobe
#1b8b33 rgb(27, 139, 51) hsl(133, 67%, 33%) Forest Green