#331c2f ≈ Eggplant
#331c2f 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.98% green and 18.43% blue; printed in CMYK it uses 0% cyan, 45.1% magenta, 7.84% yellow and 80% black. Its hue angle is 310.43°, with 29.11% saturation and 15.49% 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 15.58:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 12.69.
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.0174 |
Shades
#331c2f mixed progressively with black.
Tints
#331c2f mixed progressively with white.
Tones
#331c2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331c2f {
color: #331c2f;
}
.bg-331c2f {
background-color: #331c2f;
color: #ffffff;
}
.border-331c2f {
border: 2px solid #331c2f;
}
:root {
--color-primary: #331c2f;
--color-primary-rgb: 51 28 47;
--color-primary-hsl: 310 29% 15%;
}
.gradient-331c2f {
background: linear-gradient(135deg, #331c2f, #331c24);
}
.shadow-331c2f {
box-shadow: 0 8px 24px rgb(51 28 47 / 0.35);
}
Eggplant
#331c2f rgb(51, 28, 47) hsl(310, 29%, 15%) Eggplant
#1c3320 rgb(28, 51, 32) hsl(130, 29%, 15%) Phthalo Green
#2f331c rgb(47, 51, 28) hsl(70, 29%, 15%) Rifle Green
#1c2f33 rgb(28, 47, 51) hsl(190, 29%, 15%) Gunmetal