#40293b ≈ Eggplant
#40293b 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.14% blue; printed in CMYK it uses 0% cyan, 35.94% magenta, 7.81% yellow and 74.9% black. Its hue angle is 313.04°, 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.14:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 8.89.
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.0299 |
Shades
#40293b mixed progressively with black.
Tints
#40293b mixed progressively with white.
Tones
#40293b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40293b {
color: #40293b;
}
.bg-40293b {
background-color: #40293b;
color: #ffffff;
}
.border-40293b {
border: 2px solid #40293b;
}
:root {
--color-primary: #40293b;
--color-primary-rgb: 64 41 59;
--color-primary-hsl: 313 22% 21%;
}
.gradient-40293b {
background: linear-gradient(135deg, #40293b, #402930);
}
.shadow-40293b {
box-shadow: 0 8px 24px rgb(64 41 59 / 0.35);
}
Eggplant
#40293b rgb(64, 41, 59) hsl(313, 22%, 21%) Eggplant
#29402e rgb(41, 64, 46) hsl(133, 22%, 21%) Phthalo Green
#3b4029 rgb(59, 64, 41) hsl(73, 22%, 21%) Rifle Green
#293b40 rgb(41, 59, 64) hsl(193, 22%, 21%) Gunmetal