#5a2fcb ≈ Han Purple
#5a2fcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 18.43% green and 79.61% blue; printed in CMYK it uses 55.67% cyan, 76.85% magenta, 0% yellow and 20.39% black. Its hue angle is 256.54°, with 62.4% saturation and 49.02% 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.77:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.42.
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.0852 |
Shades
#5a2fcb mixed progressively with black.
Tints
#5a2fcb mixed progressively with white.
Tones
#5a2fcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a2fcb {
color: #5a2fcb;
}
.bg-5a2fcb {
background-color: #5a2fcb;
color: #ffffff;
}
.border-5a2fcb {
border: 2px solid #5a2fcb;
}
:root {
--color-primary: #5a2fcb;
--color-primary-rgb: 90 47 203;
--color-primary-hsl: 257 62% 49%;
}
.gradient-5a2fcb {
background: linear-gradient(135deg, #5a2fcb, #a82fcb);
}
.shadow-5a2fcb {
box-shadow: 0 8px 24px rgb(90 47 203 / 0.35);
}
Han Purple
#5a2fcb rgb(90, 47, 203) hsl(257, 62%, 49%) Han Purple
#a0cb2f rgb(160, 203, 47) hsl(77, 62%, 49%) Yellow Green
#cb5a2f rgb(203, 90, 47) hsl(17, 62%, 49%) Flame
#2fcb5a rgb(47, 203, 90) hsl(137, 62%, 49%) Malachite