#511ef1 ≈ Han Purple
#511ef1 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.76% green and 94.51% blue; printed in CMYK it uses 66.39% cyan, 87.55% magenta, 0% yellow and 5.49% black. Its hue angle is 254.5°, with 88.28% saturation and 53.14% 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.48:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.
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.0903 |
Shades
#511ef1 mixed progressively with black.
Tints
#511ef1 mixed progressively with white.
Tones
#511ef1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511ef1 {
color: #511ef1;
}
.bg-511ef1 {
background-color: #511ef1;
color: #ffffff;
}
.border-511ef1 {
border: 2px solid #511ef1;
}
:root {
--color-primary: #511ef1;
--color-primary-rgb: 81 30 241;
--color-primary-hsl: 255 88% 53%;
}
.gradient-511ef1 {
background: linear-gradient(135deg, #511ef1, #ba1ef1);
}
.shadow-511ef1 {
box-shadow: 0 8px 24px rgb(81 30 241 / 0.35);
}
Han Purple
#511ef1 rgb(81, 30, 241) hsl(255, 88%, 53%) Han Purple
#bef11e rgb(190, 241, 30) hsl(75, 88%, 53%) Electric Lime
#f1511e rgb(241, 81, 30) hsl(15, 88%, 53%) Orange Red
#1ef151 rgb(30, 241, 81) hsl(135, 88%, 53%) Spring Green