#240d7f ≈ Persian Indigo
#240d7f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 5.1% green and 49.8% blue; printed in CMYK it uses 71.65% cyan, 89.76% magenta, 0% yellow and 50.2% black. Its hue angle is 252.11°, with 81.43% saturation and 27.45% 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 14.59:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.19.
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.022 |
Shades
#240d7f mixed progressively with black.
Tints
#240d7f mixed progressively with white.
Tones
#240d7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240d7f {
color: #240d7f;
}
.bg-240d7f {
background-color: #240d7f;
color: #ffffff;
}
.border-240d7f {
border: 2px solid #240d7f;
}
:root {
--color-primary: #240d7f;
--color-primary-rgb: 36 13 127;
--color-primary-hsl: 252 81% 27%;
}
.gradient-240d7f {
background: linear-gradient(135deg, #240d7f, #5d0d7f);
}
.shadow-240d7f {
box-shadow: 0 8px 24px rgb(36 13 127 / 0.35);
}
Persian Indigo
#240d7f rgb(36, 13, 127) hsl(252, 81%, 27%) Persian Indigo
#687f0d rgb(104, 127, 13) hsl(72, 81%, 27%) Avocado
#7f240d rgb(127, 36, 13) hsl(12, 81%, 27%) Kobe
#0d7f24 rgb(13, 127, 36) hsl(132, 81%, 27%) Green