#310271 ≈ Persian Indigo
#310271 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.78% green and 44.31% blue; printed in CMYK it uses 56.64% cyan, 98.23% magenta, 0% yellow and 55.69% black. Its hue angle is 265.41°, with 96.52% saturation and 22.55% 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 15.24:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.67.
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.0189 |
Shades
#310271 mixed progressively with black.
Tints
#310271 mixed progressively with white.
Tones
#310271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310271 {
color: #310271;
}
.bg-310271 {
background-color: #310271;
color: #ffffff;
}
.border-310271 {
border: 2px solid #310271;
}
:root {
--color-primary: #310271;
--color-primary-rgb: 49 2 113;
--color-primary-hsl: 265 97% 23%;
}
.gradient-310271 {
background: linear-gradient(135deg, #310271, #690271);
}
.shadow-310271 {
box-shadow: 0 8px 24px rgb(49 2 113 / 0.35);
}
Persian Indigo
#310271 rgb(49, 2, 113) hsl(265, 97%, 23%) Persian Indigo
#427102 rgb(66, 113, 2) hsl(85, 97%, 23%) Sap Green
#713102 rgb(113, 49, 2) hsl(25, 97%, 23%) Russet
#027131 rgb(2, 113, 49) hsl(145, 97%, 23%) Cadmium Green