#40394d ≈ Eggplant
#40394d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 22.35% green and 30.2% blue; printed in CMYK it uses 16.88% cyan, 25.97% magenta, 0% yellow and 69.8% black. Its hue angle is 261°, with 14.93% saturation and 26.27% 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 10.99:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 10.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0455 |
Shades
#40394d mixed progressively with black.
Tints
#40394d mixed progressively with white.
Tones
#40394d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40394d {
color: #40394d;
}
.bg-40394d {
background-color: #40394d;
color: #ffffff;
}
.border-40394d {
border: 2px solid #40394d;
}
:root {
--color-primary: #40394d;
--color-primary-rgb: 64 57 77;
--color-primary-hsl: 261 15% 26%;
}
.gradient-40394d {
background: linear-gradient(135deg, #40394d, #4a394d);
}
.shadow-40394d {
box-shadow: 0 8px 24px rgb(64 57 77 / 0.35);
}
Eggplant
#40394d rgb(64, 57, 77) hsl(261, 15%, 26%) Eggplant
#464d39 rgb(70, 77, 57) hsl(81, 15%, 26%) Rifle Green
#4d4039 rgb(77, 64, 57) hsl(21, 15%, 26%) Taupe
#394d40 rgb(57, 77, 64) hsl(141, 15%, 26%) Rifle Green