#331b81 ≈ Persian Indigo
#331b81 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 10.59% green and 50.59% blue; printed in CMYK it uses 60.47% cyan, 79.07% magenta, 0% yellow and 49.41% black. Its hue angle is 254.12°, with 65.38% saturation and 30.59% 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.01:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.01.
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.0307 |
Shades
#331b81 mixed progressively with black.
Tints
#331b81 mixed progressively with white.
Tones
#331b81 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b81 {
color: #331b81;
}
.bg-331b81 {
background-color: #331b81;
color: #ffffff;
}
.border-331b81 {
border: 2px solid #331b81;
}
:root {
--color-primary: #331b81;
--color-primary-rgb: 51 27 129;
--color-primary-hsl: 254 65% 31%;
}
.gradient-331b81 {
background: linear-gradient(135deg, #331b81, #661b81);
}
.shadow-331b81 {
box-shadow: 0 8px 24px rgb(51 27 129 / 0.35);
}
Persian Indigo
#331b81 rgb(51, 27, 129) hsl(254, 65%, 31%) Persian Indigo
#69811b rgb(105, 129, 27) hsl(74, 65%, 31%) Avocado
#81331b rgb(129, 51, 27) hsl(14, 65%, 31%) Kobe
#1b8133 rgb(27, 129, 51) hsl(134, 65%, 31%) Forest Green