#342b40 ≈ Eggplant
#342b40 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 16.86% green and 25.1% blue; printed in CMYK it uses 18.75% cyan, 32.81% magenta, 0% yellow and 74.9% black. Its hue angle is 265.71°, with 19.63% saturation and 20.98% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 13.41:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 12.46.
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.0283 |
Shades
#342b40 mixed progressively with black.
Tints
#342b40 mixed progressively with white.
Tones
#342b40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342b40 {
color: #342b40;
}
.bg-342b40 {
background-color: #342b40;
color: #ffffff;
}
.border-342b40 {
border: 2px solid #342b40;
}
:root {
--color-primary: #342b40;
--color-primary-rgb: 52 43 64;
--color-primary-hsl: 266 20% 21%;
}
.gradient-342b40 {
background: linear-gradient(135deg, #342b40, #3e2b40);
}
.shadow-342b40 {
box-shadow: 0 8px 24px rgb(52 43 64 / 0.35);
}
Eggplant
#342b40 rgb(52, 43, 64) hsl(266, 20%, 21%) Eggplant
#37402b rgb(55, 64, 43) hsl(86, 20%, 21%) Rifle Green
#40342b rgb(64, 52, 43) hsl(26, 20%, 21%) Taupe
#2b4034 rgb(43, 64, 52) hsl(146, 20%, 21%) Phthalo Green