#511aed ≈ Han Purple
#511aed 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 92.94% blue; printed in CMYK it uses 65.82% cyan, 89.03% magenta, 0% yellow and 7.06% black. Its hue angle is 255.64°, with 85.43% 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.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.54.
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.086 |
Shades
#511aed mixed progressively with black.
Tints
#511aed mixed progressively with white.
Tones
#511aed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511aed {
color: #511aed;
}
.bg-511aed {
background-color: #511aed;
color: #ffffff;
}
.border-511aed {
border: 2px solid #511aed;
}
:root {
--color-primary: #511aed;
--color-primary-rgb: 81 26 237;
--color-primary-hsl: 256 85% 52%;
}
.gradient-511aed {
background: linear-gradient(135deg, #511aed, #bb1aed);
}
.shadow-511aed {
box-shadow: 0 8px 24px rgb(81 26 237 / 0.35);
}
Han Purple
#511aed rgb(81, 26, 237) hsl(256, 85%, 52%) Han Purple
#b6ed1a rgb(182, 237, 26) hsl(76, 85%, 52%) Spring Bud
#ed511a rgb(237, 81, 26) hsl(16, 85%, 52%) Flame
#1aed51 rgb(26, 237, 81) hsl(136, 85%, 52%) Malachite