#511ce4 ≈ Han Purple
#511ce4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.98% green and 89.41% blue; printed in CMYK it uses 64.47% cyan, 87.72% magenta, 0% yellow and 10.59% black. Its hue angle is 255.9°, with 78.74% saturation and 50.2% 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 7.97:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.57.
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.0818 |
Shades
#511ce4 mixed progressively with black.
Tints
#511ce4 mixed progressively with white.
Tones
#511ce4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511ce4 {
color: #511ce4;
}
.bg-511ce4 {
background-color: #511ce4;
color: #ffffff;
}
.border-511ce4 {
border: 2px solid #511ce4;
}
:root {
--color-primary: #511ce4;
--color-primary-rgb: 81 28 228;
--color-primary-hsl: 256 79% 50%;
}
.gradient-511ce4 {
background: linear-gradient(135deg, #511ce4, #b51ce4);
}
.shadow-511ce4 {
box-shadow: 0 8px 24px rgb(81 28 228 / 0.35);
}
Han Purple
#511ce4 rgb(81, 28, 228) hsl(256, 79%, 50%) Han Purple
#afe41c rgb(175, 228, 28) hsl(76, 79%, 50%) Inchworm
#e4511c rgb(228, 81, 28) hsl(16, 79%, 50%) Flame
#1ce451 rgb(28, 228, 81) hsl(136, 79%, 50%) Malachite