#331f85 ≈ Persian Indigo
#331f85 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 52.16% blue; printed in CMYK it uses 61.65% cyan, 76.69% magenta, 0% yellow and 47.84% black. Its hue angle is 251.76°, with 62.2% saturation and 32.16% 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.53: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.0338 |
Shades
#331f85 mixed progressively with black.
Tints
#331f85 mixed progressively with white.
Tones
#331f85 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331f85 {
color: #331f85;
}
.bg-331f85 {
background-color: #331f85;
color: #ffffff;
}
.border-331f85 {
border: 2px solid #331f85;
}
:root {
--color-primary: #331f85;
--color-primary-rgb: 51 31 133;
--color-primary-hsl: 252 62% 32%;
}
.gradient-331f85 {
background: linear-gradient(135deg, #331f85, #661f85);
}
.shadow-331f85 {
box-shadow: 0 8px 24px rgb(51 31 133 / 0.35);
}
Persian Indigo
#331f85 rgb(51, 31, 133) hsl(252, 62%, 32%) Persian Indigo
#71851f rgb(113, 133, 31) hsl(72, 62%, 32%) Olive Drab
#85331f rgb(133, 51, 31) hsl(12, 62%, 32%) Kobe
#1f8533 rgb(31, 133, 51) hsl(132, 62%, 32%) Forest Green