#42287f ≈ Persian Indigo
#42287f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.88% red, 15.69% green and 49.8% blue; printed in CMYK it uses 48.03% cyan, 68.5% magenta, 0% yellow and 50.2% black. Its hue angle is 257.93°, with 52.1% saturation and 32.75% 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 11.4:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0421 |
Shades
#42287f mixed progressively with black.
Tints
#42287f mixed progressively with white.
Tones
#42287f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42287f {
color: #42287f;
}
.bg-42287f {
background-color: #42287f;
color: #ffffff;
}
.border-42287f {
border: 2px solid #42287f;
}
:root {
--color-primary: #42287f;
--color-primary-rgb: 66 40 127;
--color-primary-hsl: 258 52% 33%;
}
.gradient-42287f {
background: linear-gradient(135deg, #42287f, #6e287f);
}
.shadow-42287f {
box-shadow: 0 8px 24px rgb(66 40 127 / 0.35);
}
Persian Indigo
#42287f rgb(66, 40, 127) hsl(258, 52%, 33%) Persian Indigo
#657f28 rgb(101, 127, 40) hsl(78, 52%, 33%) Avocado
#7f4228 rgb(127, 66, 40) hsl(18, 52%, 33%) Russet
#287f42 rgb(40, 127, 66) hsl(138, 52%, 33%) Sea Green