#511ecc ≈ Han Purple
#511ecc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.76% green and 80% blue; printed in CMYK it uses 60.29% cyan, 85.29% magenta, 0% yellow and 20% black. Its hue angle is 257.59°, with 74.36% saturation and 45.88% 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 brand accents. White text on this color reaches a contrast ratio of 8.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.46.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0704 |
Shades
#511ecc mixed progressively with black.
Tints
#511ecc mixed progressively with white.
Tones
#511ecc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511ecc {
color: #511ecc;
}
.bg-511ecc {
background-color: #511ecc;
color: #ffffff;
}
.border-511ecc {
border: 2px solid #511ecc;
}
:root {
--color-primary: #511ecc;
--color-primary-rgb: 81 30 204;
--color-primary-hsl: 258 74% 46%;
}
.gradient-511ecc {
background: linear-gradient(135deg, #511ecc, #a81ecc);
}
.shadow-511ecc {
box-shadow: 0 8px 24px rgb(81 30 204 / 0.35);
}
Han Purple
#511ecc rgb(81, 30, 204) hsl(258, 74%, 46%) Han Purple
#99cc1e rgb(153, 204, 30) hsl(78, 74%, 46%) Yellow Green
#cc511e rgb(204, 81, 30) hsl(18, 74%, 46%) Sinopia
#1ecc51 rgb(30, 204, 81) hsl(138, 74%, 46%) Malachite