#5b2dca ≈ Han Purple
#5b2dca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.69% red, 17.65% green and 79.22% blue; printed in CMYK it uses 54.95% cyan, 77.72% magenta, 0% yellow and 20.78% black. Its hue angle is 257.58°, with 63.56% 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 7.86:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.47.
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.0837 |
Shades
#5b2dca mixed progressively with black.
Tints
#5b2dca mixed progressively with white.
Tones
#5b2dca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5b2dca {
color: #5b2dca;
}
.bg-5b2dca {
background-color: #5b2dca;
color: #ffffff;
}
.border-5b2dca {
border: 2px solid #5b2dca;
}
:root {
--color-primary: #5b2dca;
--color-primary-rgb: 91 45 202;
--color-primary-hsl: 258 64% 48%;
}
.gradient-5b2dca {
background: linear-gradient(135deg, #5b2dca, #a92dca);
}
.shadow-5b2dca {
box-shadow: 0 8px 24px rgb(91 45 202 / 0.35);
}
Han Purple
#5b2dca rgb(91, 45, 202) hsl(258, 64%, 48%) Han Purple
#9cca2d rgb(156, 202, 45) hsl(78, 64%, 48%) Yellow Green
#ca5b2d rgb(202, 91, 45) hsl(18, 64%, 48%) Flame
#2dca5b rgb(45, 202, 91) hsl(138, 64%, 48%) Malachite