#511cd6 ≈ Han Purple
#511cd6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.98% green and 83.92% blue; printed in CMYK it uses 62.15% cyan, 86.92% magenta, 0% yellow and 16.08% black. Its hue angle is 257.1°, with 76.86% saturation and 47.45% 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.44:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.29.
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.0743 |
Shades
#511cd6 mixed progressively with black.
Tints
#511cd6 mixed progressively with white.
Tones
#511cd6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cd6 {
color: #511cd6;
}
.bg-511cd6 {
background-color: #511cd6;
color: #ffffff;
}
.border-511cd6 {
border: 2px solid #511cd6;
}
:root {
--color-primary: #511cd6;
--color-primary-rgb: 81 28 214;
--color-primary-hsl: 257 77% 47%;
}
.gradient-511cd6 {
background: linear-gradient(135deg, #511cd6, #ae1cd6);
}
.shadow-511cd6 {
box-shadow: 0 8px 24px rgb(81 28 214 / 0.35);
}
Han Purple
#511cd6 rgb(81, 28, 214) hsl(257, 77%, 47%) Han Purple
#a1d61c rgb(161, 214, 28) hsl(77, 77%, 47%) Yellow Green
#d6511c rgb(214, 81, 28) hsl(17, 77%, 47%) Flame
#1cd651 rgb(28, 214, 81) hsl(137, 77%, 47%) Malachite