#511bfb ≈ Han Purple
#511bfb 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.59% green and 98.43% blue; printed in CMYK it uses 67.73% cyan, 89.24% magenta, 0% yellow and 1.57% black. Its hue angle is 254.46°, with 96.55% saturation and 54.51% 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.24:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.33.
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.095 |
Shades
#511bfb mixed progressively with black.
Tints
#511bfb mixed progressively with white.
Tones
#511bfb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511bfb {
color: #511bfb;
}
.bg-511bfb {
background-color: #511bfb;
color: #ffffff;
}
.border-511bfb {
border: 2px solid #511bfb;
}
:root {
--color-primary: #511bfb;
--color-primary-rgb: 81 27 251;
--color-primary-hsl: 254 97% 55%;
}
.gradient-511bfb {
background: linear-gradient(135deg, #511bfb, #c11bfb);
}
.shadow-511bfb {
box-shadow: 0 8px 24px rgb(81 27 251 / 0.35);
}
Han Purple
#511bfb rgb(81, 27, 251) hsl(254, 97%, 55%) Han Purple
#c5fb1b rgb(197, 251, 27) hsl(74, 97%, 55%) Electric Lime
#fb511b rgb(251, 81, 27) hsl(14, 97%, 55%) Orange Red
#1bfb51 rgb(27, 251, 81) hsl(134, 97%, 55%) Lime