#511dea ≈ Han Purple
#511dea 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 91.76% blue; printed in CMYK it uses 65.38% cyan, 87.61% magenta, 0% yellow and 8.24% black. Its hue angle is 255.22°, with 83% saturation and 51.57% 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.74:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.81.
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.0857 |
Shades
#511dea mixed progressively with black.
Tints
#511dea mixed progressively with white.
Tones
#511dea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511dea {
color: #511dea;
}
.bg-511dea {
background-color: #511dea;
color: #ffffff;
}
.border-511dea {
border: 2px solid #511dea;
}
:root {
--color-primary: #511dea;
--color-primary-rgb: 81 29 234;
--color-primary-hsl: 255 83% 52%;
}
.gradient-511dea {
background: linear-gradient(135deg, #511dea, #b81dea);
}
.shadow-511dea {
box-shadow: 0 8px 24px rgb(81 29 234 / 0.35);
}
Han Purple
#511dea rgb(81, 29, 234) hsl(255, 83%, 52%) Han Purple
#b6ea1d rgb(182, 234, 29) hsl(75, 83%, 52%) Spring Bud
#ea511d rgb(234, 81, 29) hsl(15, 83%, 52%) Flame
#1dea51 rgb(29, 234, 81) hsl(135, 83%, 52%) Malachite