#511cea ≈ Han Purple
#511cea 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 91.76% blue; printed in CMYK it uses 65.38% cyan, 88.03% magenta, 0% yellow and 8.24% black. Its hue angle is 255.44°, with 83.06% saturation and 51.37% 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.77:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.84.
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.0852 |
Shades
#511cea mixed progressively with black.
Tints
#511cea mixed progressively with white.
Tones
#511cea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cea {
color: #511cea;
}
.bg-511cea {
background-color: #511cea;
color: #ffffff;
}
.border-511cea {
border: 2px solid #511cea;
}
:root {
--color-primary: #511cea;
--color-primary-rgb: 81 28 234;
--color-primary-hsl: 255 83% 51%;
}
.gradient-511cea {
background: linear-gradient(135deg, #511cea, #b81cea);
}
.shadow-511cea {
box-shadow: 0 8px 24px rgb(81 28 234 / 0.35);
}
Han Purple
#511cea rgb(81, 28, 234) hsl(255, 83%, 51%) Han Purple
#b5ea1c rgb(181, 234, 28) hsl(75, 83%, 51%) Spring Bud
#ea511c rgb(234, 81, 28) hsl(15, 83%, 51%) Flame
#1cea51 rgb(28, 234, 81) hsl(135, 83%, 51%) Malachite