#511def ≈ Han Purple
#511def 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 93.73% blue; printed in CMYK it uses 66.11% cyan, 87.87% magenta, 0% yellow and 6.27% black. Its hue angle is 254.86°, with 86.78% saturation and 52.55% 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.58:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.23.
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.0886 |
Shades
#511def mixed progressively with black.
Tints
#511def mixed progressively with white.
Tones
#511def mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511def {
color: #511def;
}
.bg-511def {
background-color: #511def;
color: #ffffff;
}
.border-511def {
border: 2px solid #511def;
}
:root {
--color-primary: #511def;
--color-primary-rgb: 81 29 239;
--color-primary-hsl: 255 87% 53%;
}
.gradient-511def {
background: linear-gradient(135deg, #511def, #ba1def);
}
.shadow-511def {
box-shadow: 0 8px 24px rgb(81 29 239 / 0.35);
}
Han Purple
#511def rgb(81, 29, 239) hsl(255, 87%, 53%) Han Purple
#bbef1d rgb(187, 239, 29) hsl(75, 87%, 53%) Electric Lime
#ef511d rgb(239, 81, 29) hsl(15, 87%, 53%) Flame
#1def51 rgb(29, 239, 81) hsl(135, 87%, 53%) Malachite