#331b6a ≈ Persian Indigo
#331b6a 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 41.57% blue; printed in CMYK it uses 51.89% cyan, 74.53% magenta, 0% yellow and 58.43% black. Its hue angle is 258.23°, with 59.4% saturation and 26.08% 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 luxury branding. White text on this color reaches a contrast ratio of 13.95:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0253 |
Shades
#331b6a mixed progressively with black.
Tints
#331b6a mixed progressively with white.
Tones
#331b6a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b6a {
color: #331b6a;
}
.bg-331b6a {
background-color: #331b6a;
color: #ffffff;
}
.border-331b6a {
border: 2px solid #331b6a;
}
:root {
--color-primary: #331b6a;
--color-primary-rgb: 51 27 106;
--color-primary-hsl: 258 59% 26%;
}
.gradient-331b6a {
background: linear-gradient(135deg, #331b6a, #5b1b6a);
}
.shadow-331b6a {
box-shadow: 0 8px 24px rgb(51 27 106 / 0.35);
}
Persian Indigo
#331b6a rgb(51, 27, 106) hsl(258, 59%, 26%) Persian Indigo
#526a1b rgb(82, 106, 27) hsl(78, 59%, 26%) Dark Olive Green
#6a331b rgb(106, 51, 27) hsl(18, 59%, 26%) Kobe
#1b6a33 rgb(27, 106, 51) hsl(138, 59%, 26%) Cadmium Green