#40283f ≈ Eggplant
#40283f is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 15.69% green and 24.71% blue; printed in CMYK it uses 0% cyan, 37.5% magenta, 1.56% yellow and 74.9% black. Its hue angle is 302.5°, with 23.08% saturation and 20.39% 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.18:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 9.33.
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.0297 |
Shades
#40283f mixed progressively with black.
Tints
#40283f mixed progressively with white.
Tones
#40283f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40283f {
color: #40283f;
}
.bg-40283f {
background-color: #40283f;
color: #ffffff;
}
.border-40283f {
border: 2px solid #40283f;
}
:root {
--color-primary: #40283f;
--color-primary-rgb: 64 40 63;
--color-primary-hsl: 303 23% 20%;
}
.gradient-40283f {
background: linear-gradient(135deg, #40283f, #402833);
}
.shadow-40283f {
box-shadow: 0 8px 24px rgb(64 40 63 / 0.35);
}
Eggplant
#40283f rgb(64, 40, 63) hsl(303, 23%, 20%) Eggplant
#284029 rgb(40, 64, 41) hsl(123, 23%, 20%) Phthalo Green
#3f4028 rgb(63, 64, 40) hsl(63, 23%, 20%) Rifle Green
#283f40 rgb(40, 63, 64) hsl(183, 23%, 20%) Dark Slate Gray