#331b7f ≈ Persian Indigo
#331b7f 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 49.8% blue; printed in CMYK it uses 59.84% cyan, 78.74% magenta, 0% yellow and 50.2% black. Its hue angle is 254.4°, with 64.94% saturation and 30.2% 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 13.09:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 1.89.
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.0302 |
Shades
#331b7f mixed progressively with black.
Tints
#331b7f mixed progressively with white.
Tones
#331b7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b7f {
color: #331b7f;
}
.bg-331b7f {
background-color: #331b7f;
color: #ffffff;
}
.border-331b7f {
border: 2px solid #331b7f;
}
:root {
--color-primary: #331b7f;
--color-primary-rgb: 51 27 127;
--color-primary-hsl: 254 65% 30%;
}
.gradient-331b7f {
background: linear-gradient(135deg, #331b7f, #651b7f);
}
.shadow-331b7f {
box-shadow: 0 8px 24px rgb(51 27 127 / 0.35);
}
Persian Indigo
#331b7f rgb(51, 27, 127) hsl(254, 65%, 30%) Persian Indigo
#677f1b rgb(103, 127, 27) hsl(74, 65%, 30%) Avocado
#7f331b rgb(127, 51, 27) hsl(14, 65%, 30%) Kobe
#1b7f33 rgb(27, 127, 51) hsl(134, 65%, 30%) Green