#511af5 ≈ Han Purple
#511af5 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.2% green and 96.08% blue; printed in CMYK it uses 66.94% cyan, 89.39% magenta, 0% yellow and 3.92% black. Its hue angle is 255.07°, with 91.63% saturation and 53.14% 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.46:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.58.
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.0908 |
Shades
#511af5 mixed progressively with black.
Tints
#511af5 mixed progressively with white.
Tones
#511af5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511af5 {
color: #511af5;
}
.bg-511af5 {
background-color: #511af5;
color: #ffffff;
}
.border-511af5 {
border: 2px solid #511af5;
}
:root {
--color-primary: #511af5;
--color-primary-rgb: 81 26 245;
--color-primary-hsl: 255 92% 53%;
}
.gradient-511af5 {
background: linear-gradient(135deg, #511af5, #bf1af5);
}
.shadow-511af5 {
box-shadow: 0 8px 24px rgb(81 26 245 / 0.35);
}
Han Purple
#511af5 rgb(81, 26, 245) hsl(255, 92%, 53%) Han Purple
#bef51a rgb(190, 245, 26) hsl(75, 92%, 53%) Electric Lime
#f5511a rgb(245, 81, 26) hsl(15, 92%, 53%) Tangelo
#1af551 rgb(26, 245, 81) hsl(135, 92%, 53%) Lime