#31007b ≈ Persian Indigo
#31007b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 0% green and 48.24% blue; printed in CMYK it uses 60.16% cyan, 100% magenta, 0% yellow and 51.76% black. Its hue angle is 263.9°, with 100% saturation and 24.12% 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 14.82:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.46.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0208 |
Shades
#31007b mixed progressively with black.
Tints
#31007b mixed progressively with white.
Tones
#31007b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31007b {
color: #31007b;
}
.bg-31007b {
background-color: #31007b;
color: #ffffff;
}
.border-31007b {
border: 2px solid #31007b;
}
:root {
--color-primary: #31007b;
--color-primary-rgb: 49 0 123;
--color-primary-hsl: 264 100% 24%;
}
.gradient-31007b {
background: linear-gradient(135deg, #31007b, #6f007b);
}
.shadow-31007b {
box-shadow: 0 8px 24px rgb(49 0 123 / 0.35);
}
Persian Indigo
#31007b rgb(49, 0, 123) hsl(264, 100%, 24%) Persian Indigo
#4a7b00 rgb(74, 123, 0) hsl(84, 100%, 24%) Avocado
#7b3100 rgb(123, 49, 0) hsl(24, 100%, 24%) Saddle Brown
#007b31 rgb(0, 123, 49) hsl(144, 100%, 24%) Green