#331c34 ≈ Eggplant
#331c34 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 20.39% blue; printed in CMYK it uses 1.92% cyan, 46.15% magenta, 0% yellow and 79.61% black. Its hue angle is 297.5°, with 30% saturation and 15.69% 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.48:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 13.
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.0178 |
Shades
#331c34 mixed progressively with black.
Tints
#331c34 mixed progressively with white.
Tones
#331c34 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331c34 {
color: #331c34;
}
.bg-331c34 {
background-color: #331c34;
color: #ffffff;
}
.border-331c34 {
border: 2px solid #331c34;
}
:root {
--color-primary: #331c34;
--color-primary-rgb: 51 28 52;
--color-primary-hsl: 298 30% 16%;
}
.gradient-331c34 {
background: linear-gradient(135deg, #331c34, #341c29);
}
.shadow-331c34 {
box-shadow: 0 8px 24px rgb(51 28 52 / 0.35);
}
Eggplant
#331c34 rgb(51, 28, 52) hsl(298, 30%, 16%) Eggplant
#1d341c rgb(29, 52, 28) hsl(118, 30%, 16%) Phthalo Green
#34331c rgb(52, 51, 28) hsl(58, 30%, 16%) Black Olive
#1c3433 rgb(28, 52, 51) hsl(178, 30%, 16%) Gunmetal