#511df4 ≈ Han Purple
#511df4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 11.37% green and 95.69% blue; printed in CMYK it uses 66.8% cyan, 88.11% magenta, 0% yellow and 4.31% black. Its hue angle is 254.51°, with 90.72% saturation and 53.53% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.42:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.68.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0916 |
Shades
#511df4 mixed progressively with black.
Tints
#511df4 mixed progressively with white.
Tones
#511df4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511df4 {
color: #511df4;
}
.bg-511df4 {
background-color: #511df4;
color: #ffffff;
}
.border-511df4 {
border: 2px solid #511df4;
}
:root {
--color-primary: #511df4;
--color-primary-rgb: 81 29 244;
--color-primary-hsl: 255 91% 54%;
}
.gradient-511df4 {
background: linear-gradient(135deg, #511df4, #bc1df4);
}
.shadow-511df4 {
box-shadow: 0 8px 24px rgb(81 29 244 / 0.35);
}
Han Purple
#511df4 rgb(81, 29, 244) hsl(255, 91%, 54%) Han Purple
#c0f41d rgb(192, 244, 29) hsl(75, 91%, 54%) Electric Lime
#f4511d rgb(244, 81, 29) hsl(15, 91%, 54%) Orange Red
#1df451 rgb(29, 244, 81) hsl(135, 91%, 54%) Lime