#511fed ≈ Han Purple
#511fed is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 12.16% green and 92.94% blue; printed in CMYK it uses 65.82% cyan, 86.92% magenta, 0% yellow and 7.06% black. Its hue angle is 254.56°, with 85.12% 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.43.
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.0884 |
Shades
#511fed mixed progressively with black.
Tints
#511fed mixed progressively with white.
Tones
#511fed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fed {
color: #511fed;
}
.bg-511fed {
background-color: #511fed;
color: #ffffff;
}
.border-511fed {
border: 2px solid #511fed;
}
:root {
--color-primary: #511fed;
--color-primary-rgb: 81 31 237;
--color-primary-hsl: 255 85% 53%;
}
.gradient-511fed {
background: linear-gradient(135deg, #511fed, #b81fed);
}
.shadow-511fed {
box-shadow: 0 8px 24px rgb(81 31 237 / 0.35);
}
Han Purple
#511fed rgb(81, 31, 237) hsl(255, 85%, 53%) Han Purple
#bbed1f rgb(187, 237, 31) hsl(75, 85%, 53%) Electric Lime
#ed511f rgb(237, 81, 31) hsl(15, 85%, 53%) Flame
#1fed51 rgb(31, 237, 81) hsl(135, 85%, 53%) Malachite