#40293d ≈ Eggplant
#40293d is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 16.08% green and 23.92% blue; printed in CMYK it uses 0% cyan, 35.94% magenta, 4.69% yellow and 74.9% black. Its hue angle is 307.83°, with 21.9% saturation and 20.59% 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 13.1:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 8.98.
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.0301 |
Shades
#40293d mixed progressively with black.
Tints
#40293d mixed progressively with white.
Tones
#40293d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40293d {
color: #40293d;
}
.bg-40293d {
background-color: #40293d;
color: #ffffff;
}
.border-40293d {
border: 2px solid #40293d;
}
:root {
--color-primary: #40293d;
--color-primary-rgb: 64 41 61;
--color-primary-hsl: 308 22% 21%;
}
.gradient-40293d {
background: linear-gradient(135deg, #40293d, #402932);
}
.shadow-40293d {
box-shadow: 0 8px 24px rgb(64 41 61 / 0.35);
}
Eggplant
#40293d rgb(64, 41, 61) hsl(308, 22%, 21%) Eggplant
#29402c rgb(41, 64, 44) hsl(128, 22%, 21%) Phthalo Green
#3d4029 rgb(61, 64, 41) hsl(68, 22%, 21%) Rifle Green
#293d40 rgb(41, 61, 64) hsl(188, 22%, 21%) Gunmetal