#511cdb ≈ Han Purple
#511cdb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.98% green and 85.88% blue; printed in CMYK it uses 63.01% cyan, 87.21% magenta, 0% yellow and 14.12% black. Its hue angle is 256.65°, with 77.33% saturation and 48.43% 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 brand accents. White text on this color reaches a contrast ratio of 8.27:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.67.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0769 |
Shades
#511cdb mixed progressively with black.
Tints
#511cdb mixed progressively with white.
Tones
#511cdb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cdb {
color: #511cdb;
}
.bg-511cdb {
background-color: #511cdb;
color: #ffffff;
}
.border-511cdb {
border: 2px solid #511cdb;
}
:root {
--color-primary: #511cdb;
--color-primary-rgb: 81 28 219;
--color-primary-hsl: 257 77% 48%;
}
.gradient-511cdb {
background: linear-gradient(135deg, #511cdb, #b01cdb);
}
.shadow-511cdb {
box-shadow: 0 8px 24px rgb(81 28 219 / 0.35);
}
Han Purple
#511cdb rgb(81, 28, 219) hsl(257, 77%, 48%) Han Purple
#a6db1c rgb(166, 219, 28) hsl(77, 77%, 48%) Yellow Green
#db511c rgb(219, 81, 28) hsl(17, 77%, 48%) Flame
#1cdb51 rgb(28, 219, 81) hsl(137, 77%, 48%) Malachite