#40203b ≈ Eggplant
#40203b is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 25.1% red, 12.55% green and 23.14% blue; printed in CMYK it uses 0% cyan, 50% magenta, 7.81% yellow and 74.9% black. Its hue angle is 309.38°, with 33.33% saturation and 18.82% 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 luxury branding. White text on this color reaches a contrast ratio of 14.12:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 10.78.
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.0244 |
Shades
#40203b mixed progressively with black.
Tints
#40203b mixed progressively with white.
Tones
#40203b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40203b {
color: #40203b;
}
.bg-40203b {
background-color: #40203b;
color: #ffffff;
}
.border-40203b {
border: 2px solid #40203b;
}
:root {
--color-primary: #40203b;
--color-primary-rgb: 64 32 59;
--color-primary-hsl: 309 33% 19%;
}
.gradient-40203b {
background: linear-gradient(135deg, #40203b, #40202b);
}
.shadow-40203b {
box-shadow: 0 8px 24px rgb(64 32 59 / 0.35);
}
Eggplant
#40203b rgb(64, 32, 59) hsl(309, 33%, 19%) Eggplant
#204025 rgb(32, 64, 37) hsl(129, 33%, 19%) British Racing Green
#3b4020 rgb(59, 64, 32) hsl(69, 33%, 19%) Rifle Green
#203b40 rgb(32, 59, 64) hsl(189, 33%, 19%) Gunmetal