#511dfa ≈ Han Purple
#511dfa 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 98.04% blue; printed in CMYK it uses 67.6% cyan, 88.4% magenta, 0% yellow and 1.96% black. Its hue angle is 254.12°, with 95.67% saturation and 54.71% 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.23:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.45.
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.0953 |
Shades
#511dfa mixed progressively with black.
Tints
#511dfa mixed progressively with white.
Tones
#511dfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511dfa {
color: #511dfa;
}
.bg-511dfa {
background-color: #511dfa;
color: #ffffff;
}
.border-511dfa {
border: 2px solid #511dfa;
}
:root {
--color-primary: #511dfa;
--color-primary-rgb: 81 29 250;
--color-primary-hsl: 254 96% 55%;
}
.gradient-511dfa {
background: linear-gradient(135deg, #511dfa, #c01dfa);
}
.shadow-511dfa {
box-shadow: 0 8px 24px rgb(81 29 250 / 0.35);
}
Han Purple
#511dfa rgb(81, 29, 250) hsl(254, 96%, 55%) Han Purple
#c6fa1d rgb(198, 250, 29) hsl(74, 96%, 55%) Electric Lime
#fa511d rgb(250, 81, 29) hsl(14, 96%, 55%) Orange Red
#1dfa51 rgb(29, 250, 81) hsl(134, 96%, 55%) Lime