#2f157f ≈ Persian Indigo
#2f157f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 8.24% green and 49.8% blue; printed in CMYK it uses 62.99% cyan, 83.46% magenta, 0% yellow and 50.2% black. Its hue angle is 254.72°, with 71.62% saturation and 29.02% 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 13.68:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 1.11.
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.0267 |
Shades
#2f157f mixed progressively with black.
Tints
#2f157f mixed progressively with white.
Tones
#2f157f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f157f {
color: #2f157f;
}
.bg-2f157f {
background-color: #2f157f;
color: #ffffff;
}
.border-2f157f {
border: 2px solid #2f157f;
}
:root {
--color-primary: #2f157f;
--color-primary-rgb: 47 21 127;
--color-primary-hsl: 255 72% 29%;
}
.gradient-2f157f {
background: linear-gradient(135deg, #2f157f, #64157f);
}
.shadow-2f157f {
box-shadow: 0 8px 24px rgb(47 21 127 / 0.35);
}
Persian Indigo
#2f157f rgb(47, 21, 127) hsl(255, 72%, 29%) Persian Indigo
#657f15 rgb(101, 127, 21) hsl(75, 72%, 29%) Avocado
#7f2f15 rgb(127, 47, 21) hsl(15, 72%, 29%) Kobe
#157f2f rgb(21, 127, 47) hsl(135, 72%, 29%) Green