#310a42 ≈ Persian Indigo
#310a42 is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 3.92% green and 25.88% blue; printed in CMYK it uses 25.76% cyan, 84.85% magenta, 0% yellow and 74.12% black. Its hue angle is 281.79°, with 73.68% saturation and 14.9% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.76:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 11.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0126 |
Shades
#310a42 mixed progressively with black.
Tints
#310a42 mixed progressively with white.
Tones
#310a42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310a42 {
color: #310a42;
}
.bg-310a42 {
background-color: #310a42;
color: #ffffff;
}
.border-310a42 {
border: 2px solid #310a42;
}
:root {
--color-primary: #310a42;
--color-primary-rgb: 49 10 66;
--color-primary-hsl: 282 74% 15%;
}
.gradient-310a42 {
background: linear-gradient(135deg, #310a42, #420a37);
}
.shadow-310a42 {
box-shadow: 0 8px 24px rgb(49 10 66 / 0.35);
}
Persian Indigo
#310a42 rgb(49, 10, 66) hsl(282, 74%, 15%) Persian Indigo
#1b420a rgb(27, 66, 10) hsl(102, 74%, 15%) Lincoln Green
#42310a rgb(66, 49, 10) hsl(42, 74%, 15%) Bistre
#0a4231 rgb(10, 66, 49) hsl(162, 74%, 15%) British Racing Green