#331b31 ≈ Eggplant
#331b31 is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 20% red, 10.59% green and 19.22% blue; printed in CMYK it uses 0% cyan, 47.06% magenta, 3.92% yellow and 80% black. Its hue angle is 305°, with 30.77% saturation and 15.29% 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 15.65:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 12.96.
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.0171 |
Shades
#331b31 mixed progressively with black.
Tints
#331b31 mixed progressively with white.
Tones
#331b31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331b31 {
color: #331b31;
}
.bg-331b31 {
background-color: #331b31;
color: #ffffff;
}
.border-331b31 {
border: 2px solid #331b31;
}
:root {
--color-primary: #331b31;
--color-primary-rgb: 51 27 49;
--color-primary-hsl: 305 31% 15%;
}
.gradient-331b31 {
background: linear-gradient(135deg, #331b31, #331b25);
}
.shadow-331b31 {
box-shadow: 0 8px 24px rgb(51 27 49 / 0.35);
}
Eggplant
#331b31 rgb(51, 27, 49) hsl(305, 31%, 15%) Eggplant
#1b331d rgb(27, 51, 29) hsl(125, 31%, 15%) Phthalo Green
#31331b rgb(49, 51, 27) hsl(65, 31%, 15%) Rifle Green
#1b3133 rgb(27, 49, 51) hsl(185, 31%, 15%) Gunmetal