#511aea ≈ Han Purple
#511aea 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 91.76% blue; printed in CMYK it uses 65.38% cyan, 88.89% magenta, 0% yellow and 8.24% black. Its hue angle is 255.87°, with 83.2% saturation and 50.98% 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.82:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.91.
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.0843 |
Shades
#511aea mixed progressively with black.
Tints
#511aea mixed progressively with white.
Tones
#511aea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511aea {
color: #511aea;
}
.bg-511aea {
background-color: #511aea;
color: #ffffff;
}
.border-511aea {
border: 2px solid #511aea;
}
:root {
--color-primary: #511aea;
--color-primary-rgb: 81 26 234;
--color-primary-hsl: 256 83% 51%;
}
.gradient-511aea {
background: linear-gradient(135deg, #511aea, #b91aea);
}
.shadow-511aea {
box-shadow: 0 8px 24px rgb(81 26 234 / 0.35);
}
Han Purple
#511aea rgb(81, 26, 234) hsl(256, 83%, 51%) Han Purple
#b3ea1a rgb(179, 234, 26) hsl(76, 83%, 51%) Spring Bud
#ea511a rgb(234, 81, 26) hsl(16, 83%, 51%) Flame
#1aea51 rgb(26, 234, 81) hsl(136, 83%, 51%) Malachite