#311f7b ≈ Persian Indigo
#311f7b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 12.16% green and 48.24% blue; printed in CMYK it uses 60.16% cyan, 74.8% magenta, 0% yellow and 51.76% black. Its hue angle is 251.74°, with 59.74% saturation and 30.2% 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.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0306 |
Shades
#311f7b mixed progressively with black.
Tints
#311f7b mixed progressively with white.
Tones
#311f7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-311f7b {
color: #311f7b;
}
.bg-311f7b {
background-color: #311f7b;
color: #ffffff;
}
.border-311f7b {
border: 2px solid #311f7b;
}
:root {
--color-primary: #311f7b;
--color-primary-rgb: 49 31 123;
--color-primary-hsl: 252 60% 30%;
}
.gradient-311f7b {
background: linear-gradient(135deg, #311f7b, #5f1f7b);
}
.shadow-311f7b {
box-shadow: 0 8px 24px rgb(49 31 123 / 0.35);
}
Persian Indigo
#311f7b rgb(49, 31, 123) hsl(252, 60%, 30%) Persian Indigo
#697b1f rgb(105, 123, 31) hsl(72, 60%, 30%) Avocado
#7b311f rgb(123, 49, 31) hsl(12, 60%, 30%) Burnt Umber
#1f7b31 rgb(31, 123, 49) hsl(132, 60%, 30%) Green