#31168a ≈ Persian Indigo
#31168a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 8.63% green and 54.12% blue; printed in CMYK it uses 64.49% cyan, 84.06% magenta, 0% yellow and 45.88% black. Its hue angle is 253.97°, with 72.5% saturation and 31.37% 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 13.02:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.58.
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.0306 |
Shades
#31168a mixed progressively with black.
Tints
#31168a mixed progressively with white.
Tones
#31168a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31168a {
color: #31168a;
}
.bg-31168a {
background-color: #31168a;
color: #ffffff;
}
.border-31168a {
border: 2px solid #31168a;
}
:root {
--color-primary: #31168a;
--color-primary-rgb: 49 22 138;
--color-primary-hsl: 254 73% 31%;
}
.gradient-31168a {
background: linear-gradient(135deg, #31168a, #6b168a);
}
.shadow-31168a {
box-shadow: 0 8px 24px rgb(49 22 138 / 0.35);
}
Persian Indigo
#31168a rgb(49, 22, 138) hsl(254, 73%, 31%) Persian Indigo
#6f8a16 rgb(111, 138, 22) hsl(74, 73%, 31%) Olive Drab
#8a3116 rgb(138, 49, 22) hsl(14, 73%, 31%) Kobe
#168a31 rgb(22, 138, 49) hsl(134, 73%, 31%) Forest Green