#42008e ≈ Indigo
#42008e is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.88% red, 0% green and 55.69% blue; printed in CMYK it uses 53.52% cyan, 100% magenta, 0% yellow and 44.31% black. Its hue angle is 267.89°, with 100% saturation and 27.84% 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 12.94:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.61.
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.0311 |
Shades
#42008e mixed progressively with black.
Tints
#42008e mixed progressively with white.
Tones
#42008e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42008e {
color: #42008e;
}
.bg-42008e {
background-color: #42008e;
color: #ffffff;
}
.border-42008e {
border: 2px solid #42008e;
}
:root {
--color-primary: #42008e;
--color-primary-rgb: 66 0 142;
--color-primary-hsl: 268 100% 28%;
}
.gradient-42008e {
background: linear-gradient(135deg, #42008e, #89008e);
}
.shadow-42008e {
box-shadow: 0 8px 24px rgb(66 0 142 / 0.35);
}
Indigo
#42008e rgb(66, 0, 142) hsl(268, 100%, 28%) Indigo
#4c8e00 rgb(76, 142, 0) hsl(88, 100%, 28%) Avocado
#8e4200 rgb(142, 66, 0) hsl(28, 100%, 28%) Saddle Brown
#008e42 rgb(0, 142, 66) hsl(148, 100%, 28%) Sea Green