#5f2cd4 ≈ Han Purple
#5f2cd4 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 83.14% blue; printed in CMYK it uses 55.19% cyan, 79.25% magenta, 0% yellow and 16.86% black. Its hue angle is 258.21°, with 66.14% saturation and 50.2% 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.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.37.
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.0899 |
Shades
#5f2cd4 mixed progressively with black.
Tints
#5f2cd4 mixed progressively with white.
Tones
#5f2cd4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2cd4 {
color: #5f2cd4;
}
.bg-5f2cd4 {
background-color: #5f2cd4;
color: #ffffff;
}
.border-5f2cd4 {
border: 2px solid #5f2cd4;
}
:root {
--color-primary: #5f2cd4;
--color-primary-rgb: 95 44 212;
--color-primary-hsl: 258 66% 50%;
}
.gradient-5f2cd4 {
background: linear-gradient(135deg, #5f2cd4, #b32cd4);
}
.shadow-5f2cd4 {
box-shadow: 0 8px 24px rgb(95 44 212 / 0.35);
}
Han Purple
#5f2cd4 rgb(95, 44, 212) hsl(258, 66%, 50%) Han Purple
#a1d42c rgb(161, 212, 44) hsl(78, 66%, 50%) Yellow Green
#d45f2c rgb(212, 95, 44) hsl(18, 66%, 50%) Flame
#2cd45f rgb(44, 212, 95) hsl(138, 66%, 50%) Malachite