#512640 ≈ Eggplant
#512640 is a color from the rose family, with low lightness and muted saturation. In the RGB model it is made of 31.76% red, 14.9% green and 25.1% blue; printed in CMYK it uses 0% cyan, 53.09% magenta, 20.99% yellow and 68.24% black. Its hue angle is 323.72°, with 36.13% saturation and 23.33% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 12.34:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 8.07.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0351 |
Shades
#512640 mixed progressively with black.
Tints
#512640 mixed progressively with white.
Tones
#512640 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512640 {
color: #512640;
}
.bg-512640 {
background-color: #512640;
color: #ffffff;
}
.border-512640 {
border: 2px solid #512640;
}
:root {
--color-primary: #512640;
--color-primary-rgb: 81 38 64;
--color-primary-hsl: 324 36% 23%;
}
.gradient-512640 {
background: linear-gradient(135deg, #512640, #51262a);
}
.shadow-512640 {
box-shadow: 0 8px 24px rgb(81 38 64 / 0.35);
}
Eggplant
#512640 rgb(81, 38, 64) hsl(324, 36%, 23%) Eggplant
#265137 rgb(38, 81, 55) hsl(144, 36%, 23%) Hunter Green
#405126 rgb(64, 81, 38) hsl(84, 36%, 23%) Army Green
#264051 rgb(38, 64, 81) hsl(204, 36%, 23%) Charcoal