#331d8a ≈ Persian Indigo
#331d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 11.37% green and 54.12% blue; printed in CMYK it uses 63.04% cyan, 78.99% magenta, 0% yellow and 45.88% black. Its hue angle is 252.11°, with 65.27% saturation and 32.75% 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.47:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.2.
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.0342 |
Shades
#331d8a mixed progressively with black.
Tints
#331d8a mixed progressively with white.
Tones
#331d8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331d8a {
color: #331d8a;
}
.bg-331d8a {
background-color: #331d8a;
color: #ffffff;
}
.border-331d8a {
border: 2px solid #331d8a;
}
:root {
--color-primary: #331d8a;
--color-primary-rgb: 51 29 138;
--color-primary-hsl: 252 65% 33%;
}
.gradient-331d8a {
background: linear-gradient(135deg, #331d8a, #6a1d8a);
}
.shadow-331d8a {
box-shadow: 0 8px 24px rgb(51 29 138 / 0.35);
}
Persian Indigo
#331d8a rgb(51, 29, 138) hsl(252, 65%, 33%) Persian Indigo
#748a1d rgb(116, 138, 29) hsl(72, 65%, 33%) Olive Drab
#8a331d rgb(138, 51, 29) hsl(12, 65%, 33%) Kobe
#1d8a33 rgb(29, 138, 51) hsl(132, 65%, 33%) Forest Green