#5f2cdd ≈ Han Purple
#5f2cdd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 17.25% green and 86.67% blue; printed in CMYK it uses 57.01% cyan, 80.09% magenta, 0% yellow and 13.33% black. Its hue angle is 257.29°, with 72.24% saturation and 51.96% 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.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.5.
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.0945 |
Shades
#5f2cdd mixed progressively with black.
Tints
#5f2cdd mixed progressively with white.
Tones
#5f2cdd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2cdd {
color: #5f2cdd;
}
.bg-5f2cdd {
background-color: #5f2cdd;
color: #ffffff;
}
.border-5f2cdd {
border: 2px solid #5f2cdd;
}
:root {
--color-primary: #5f2cdd;
--color-primary-rgb: 95 44 221;
--color-primary-hsl: 257 72% 52%;
}
.gradient-5f2cdd {
background: linear-gradient(135deg, #5f2cdd, #b82cdd);
}
.shadow-5f2cdd {
box-shadow: 0 8px 24px rgb(95 44 221 / 0.35);
}
Han Purple
#5f2cdd rgb(95, 44, 221) hsl(257, 72%, 52%) Han Purple
#aadd2c rgb(170, 221, 44) hsl(77, 72%, 52%) Yellow Green
#dd5f2c rgb(221, 95, 44) hsl(17, 72%, 52%) Flame
#2cdd5f rgb(44, 221, 95) hsl(137, 72%, 52%) Malachite