#331c81 ≈ Persian Indigo
#331c81 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.98% green and 50.59% blue; printed in CMYK it uses 60.47% cyan, 78.29% magenta, 0% yellow and 49.41% black. Its hue angle is 253.66°, with 64.33% saturation and 30.78% 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 12.93:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0312 |
Shades
#331c81 mixed progressively with black.
Tints
#331c81 mixed progressively with white.
Tones
#331c81 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331c81 {
color: #331c81;
}
.bg-331c81 {
background-color: #331c81;
color: #ffffff;
}
.border-331c81 {
border: 2px solid #331c81;
}
:root {
--color-primary: #331c81;
--color-primary-rgb: 51 28 129;
--color-primary-hsl: 254 64% 31%;
}
.gradient-331c81 {
background: linear-gradient(135deg, #331c81, #651c81);
}
.shadow-331c81 {
box-shadow: 0 8px 24px rgb(51 28 129 / 0.35);
}
Persian Indigo
#331c81 rgb(51, 28, 129) hsl(254, 64%, 31%) Persian Indigo
#6a811c rgb(106, 129, 28) hsl(74, 64%, 31%) Avocado
#81331c rgb(129, 51, 28) hsl(14, 64%, 31%) Kobe
#1c8133 rgb(28, 129, 51) hsl(134, 64%, 31%) Forest Green