#40118e ≈ Indigo
#40118e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 6.67% green and 55.69% blue; printed in CMYK it uses 54.93% cyan, 88.03% magenta, 0% yellow and 44.31% black. Its hue angle is 262.56°, with 78.62% saturation and 31.18% 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.44:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0344 |
Shades
#40118e mixed progressively with black.
Tints
#40118e mixed progressively with white.
Tones
#40118e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40118e {
color: #40118e;
}
.bg-40118e {
background-color: #40118e;
color: #ffffff;
}
.border-40118e {
border: 2px solid #40118e;
}
:root {
--color-primary: #40118e;
--color-primary-rgb: 64 17 142;
--color-primary-hsl: 263 79% 31%;
}
.gradient-40118e {
background: linear-gradient(135deg, #40118e, #7f118e);
}
.shadow-40118e {
box-shadow: 0 8px 24px rgb(64 17 142 / 0.35);
}
Indigo
#40118e rgb(64, 17, 142) hsl(263, 79%, 31%) Indigo
#5f8e11 rgb(95, 142, 17) hsl(83, 79%, 31%) Olive Drab
#8e4011 rgb(142, 64, 17) hsl(23, 79%, 31%) Saddle Brown
#118e40 rgb(17, 142, 64) hsl(143, 79%, 31%) Forest Green