#331c8a ≈ Persian Indigo
#331c8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.98% green and 54.12% blue; printed in CMYK it uses 63.04% cyan, 79.71% magenta, 0% yellow and 45.88% black. Its hue angle is 252.55°, with 66.27% 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.55: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.0337 |
Shades
#331c8a mixed progressively with black.
Tints
#331c8a mixed progressively with white.
Tones
#331c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331c8a {
color: #331c8a;
}
.bg-331c8a {
background-color: #331c8a;
color: #ffffff;
}
.border-331c8a {
border: 2px solid #331c8a;
}
:root {
--color-primary: #331c8a;
--color-primary-rgb: 51 28 138;
--color-primary-hsl: 253 66% 33%;
}
.gradient-331c8a {
background: linear-gradient(135deg, #331c8a, #6a1c8a);
}
.shadow-331c8a {
box-shadow: 0 8px 24px rgb(51 28 138 / 0.35);
}
Persian Indigo
#331c8a rgb(51, 28, 138) hsl(253, 66%, 33%) Persian Indigo
#738a1c rgb(115, 138, 28) hsl(73, 66%, 33%) Olive Drab
#8a331c rgb(138, 51, 28) hsl(13, 66%, 33%) Kobe
#1c8a33 rgb(28, 138, 51) hsl(133, 66%, 33%) Forest Green