#331a5f ≈ Persian Indigo
#331a5f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.2% green and 37.25% blue; printed in CMYK it uses 46.32% cyan, 72.63% magenta, 0% yellow and 62.75% black. Its hue angle is 261.74°, with 57.02% saturation and 23.73% 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.45:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.65.
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.0227 |
Shades
#331a5f mixed progressively with black.
Tints
#331a5f mixed progressively with white.
Tones
#331a5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331a5f {
color: #331a5f;
}
.bg-331a5f {
background-color: #331a5f;
color: #ffffff;
}
.border-331a5f {
border: 2px solid #331a5f;
}
:root {
--color-primary: #331a5f;
--color-primary-rgb: 51 26 95;
--color-primary-hsl: 262 57% 24%;
}
.gradient-331a5f {
background: linear-gradient(135deg, #331a5f, #561a5f);
}
.shadow-331a5f {
box-shadow: 0 8px 24px rgb(51 26 95 / 0.35);
}
Persian Indigo
#331a5f rgb(51, 26, 95) hsl(262, 57%, 24%) Persian Indigo
#465f1a rgb(70, 95, 26) hsl(82, 57%, 24%) Dark Olive Green
#5f331a rgb(95, 51, 26) hsl(22, 57%, 24%) Sepia
#1a5f33 rgb(26, 95, 51) hsl(142, 57%, 24%) Cadmium Green