#331f82 ≈ Persian Indigo
#331f82 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 12.16% green and 50.98% blue; printed in CMYK it uses 60.77% cyan, 76.15% magenta, 0% yellow and 49.02% black. Its hue angle is 252.12°, with 61.49% saturation and 31.57% 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.66:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.88.
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.033 |
Shades
#331f82 mixed progressively with black.
Tints
#331f82 mixed progressively with white.
Tones
#331f82 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331f82 {
color: #331f82;
}
.bg-331f82 {
background-color: #331f82;
color: #ffffff;
}
.border-331f82 {
border: 2px solid #331f82;
}
:root {
--color-primary: #331f82;
--color-primary-rgb: 51 31 130;
--color-primary-hsl: 252 61% 32%;
}
.gradient-331f82 {
background: linear-gradient(135deg, #331f82, #651f82);
}
.shadow-331f82 {
box-shadow: 0 8px 24px rgb(51 31 130 / 0.35);
}
Persian Indigo
#331f82 rgb(51, 31, 130) hsl(252, 61%, 32%) Persian Indigo
#6e821f rgb(110, 130, 31) hsl(72, 61%, 32%) Olive Drab
#82331f rgb(130, 51, 31) hsl(12, 61%, 32%) Kobe
#1f8233 rgb(31, 130, 51) hsl(132, 61%, 32%) Forest Green