#511cff ≈ Han Purple
#511cff 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 100% blue; printed in CMYK it uses 68.24% cyan, 89.02% magenta, 0% yellow and 0% black. Its hue angle is 254.01°, with 100% saturation and 55.49% 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.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.82.
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.098 |
Shades
#511cff mixed progressively with black.
Tints
#511cff mixed progressively with white.
Tones
#511cff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cff {
color: #511cff;
}
.bg-511cff {
background-color: #511cff;
color: #ffffff;
}
.border-511cff {
border: 2px solid #511cff;
}
:root {
--color-primary: #511cff;
--color-primary-rgb: 81 28 255;
--color-primary-hsl: 254 100% 55%;
}
.gradient-511cff {
background: linear-gradient(135deg, #511cff, #c31cff);
}
.shadow-511cff {
box-shadow: 0 8px 24px rgb(81 28 255 / 0.35);
}
Han Purple
#511cff rgb(81, 28, 255) hsl(254, 100%, 55%) Han Purple
#caff1c rgb(202, 255, 28) hsl(74, 100%, 55%) Electric Lime
#ff511c rgb(255, 81, 28) hsl(14, 100%, 55%) Orange Red
#1cff51 rgb(28, 255, 81) hsl(134, 100%, 55%) Lime