#310b8c ≈ Persian Indigo
#310b8c is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.31% green and 54.9% blue; printed in CMYK it uses 65% cyan, 92.14% magenta, 0% yellow and 45.1% black. Its hue angle is 257.67°, with 85.43% saturation and 29.61% 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 luxury branding. White text on this color reaches a contrast ratio of 13.49:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0279 |
Shades
#310b8c mixed progressively with black.
Tints
#310b8c mixed progressively with white.
Tones
#310b8c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310b8c {
color: #310b8c;
}
.bg-310b8c {
background-color: #310b8c;
color: #ffffff;
}
.border-310b8c {
border: 2px solid #310b8c;
}
:root {
--color-primary: #310b8c;
--color-primary-rgb: 49 11 140;
--color-primary-hsl: 258 85% 30%;
}
.gradient-310b8c {
background: linear-gradient(135deg, #310b8c, #710b8c);
}
.shadow-310b8c {
box-shadow: 0 8px 24px rgb(49 11 140 / 0.35);
}
Persian Indigo
#310b8c rgb(49, 11, 140) hsl(258, 85%, 30%) Persian Indigo
#668c0b rgb(102, 140, 11) hsl(78, 85%, 30%) Olive Drab
#8c310b rgb(140, 49, 11) hsl(18, 85%, 30%) Kobe
#0b8c31 rgb(11, 140, 49) hsl(138, 85%, 30%) Forest Green