#331f81 ≈ Persian Indigo
#331f81 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20% red, 12.16% green and 50.59% blue; printed in CMYK it uses 60.47% cyan, 75.97% magenta, 0% yellow and 49.41% black. Its hue angle is 252.24°, with 61.25% saturation and 31.37% 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.7:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.83.
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.0327 |
Shades
#331f81 mixed progressively with black.
Tints
#331f81 mixed progressively with white.
Tones
#331f81 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331f81 {
color: #331f81;
}
.bg-331f81 {
background-color: #331f81;
color: #ffffff;
}
.border-331f81 {
border: 2px solid #331f81;
}
:root {
--color-primary: #331f81;
--color-primary-rgb: 51 31 129;
--color-primary-hsl: 252 61% 31%;
}
.gradient-331f81 {
background: linear-gradient(135deg, #331f81, #641f81);
}
.shadow-331f81 {
box-shadow: 0 8px 24px rgb(51 31 129 / 0.35);
}
Persian Indigo
#331f81 rgb(51, 31, 129) hsl(252, 61%, 31%) Persian Indigo
#6d811f rgb(109, 129, 31) hsl(72, 61%, 31%) Avocado
#81331f rgb(129, 51, 31) hsl(12, 61%, 31%) Kobe
#1f8133 rgb(31, 129, 51) hsl(132, 61%, 31%) Forest Green