#412e42 ≈ Eggplant
#412e42 is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 25.49% red, 18.04% green and 25.88% blue; printed in CMYK it uses 1.52% cyan, 30.3% magenta, 0% yellow and 74.12% black. Its hue angle is 297°, with 17.86% saturation and 21.96% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 12.4:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 8.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0347 |
Shades
#412e42 mixed progressively with black.
Tints
#412e42 mixed progressively with white.
Tones
#412e42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-412e42 {
color: #412e42;
}
.bg-412e42 {
background-color: #412e42;
color: #ffffff;
}
.border-412e42 {
border: 2px solid #412e42;
}
:root {
--color-primary: #412e42;
--color-primary-rgb: 65 46 66;
--color-primary-hsl: 297 18% 22%;
}
.gradient-412e42 {
background: linear-gradient(135deg, #412e42, #422e39);
}
.shadow-412e42 {
box-shadow: 0 8px 24px rgb(65 46 66 / 0.35);
}
Eggplant
#412e42 rgb(65, 46, 66) hsl(297, 18%, 22%) Eggplant
#2f422e rgb(47, 66, 46) hsl(117, 18%, 22%) Rifle Green
#42412e rgb(66, 65, 46) hsl(57, 18%, 22%) Rifle Green
#2e4241 rgb(46, 66, 65) hsl(177, 18%, 22%) Dark Slate Gray