#5f22cc ≈ Han Purple
#5f22cc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 13.33% green and 80% blue; printed in CMYK it uses 53.43% cyan, 83.33% magenta, 0% yellow and 20% black. Its hue angle is 261.53°, with 71.43% saturation and 46.67% 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.12:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.24.
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.0794 |
Shades
#5f22cc mixed progressively with black.
Tints
#5f22cc mixed progressively with white.
Tones
#5f22cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f22cc {
color: #5f22cc;
}
.bg-5f22cc {
background-color: #5f22cc;
color: #ffffff;
}
.border-5f22cc {
border: 2px solid #5f22cc;
}
:root {
--color-primary: #5f22cc;
--color-primary-rgb: 95 34 204;
--color-primary-hsl: 262 71% 47%;
}
.gradient-5f22cc {
background: linear-gradient(135deg, #5f22cc, #b422cc);
}
.shadow-5f22cc {
box-shadow: 0 8px 24px rgb(95 34 204 / 0.35);
}
Han Purple
#5f22cc rgb(95, 34, 204) hsl(262, 71%, 47%) Han Purple
#8fcc22 rgb(143, 204, 34) hsl(82, 71%, 47%) Yellow Green
#cc5f22 rgb(204, 95, 34) hsl(22, 71%, 47%) Burnt Orange
#22cc5f rgb(34, 204, 95) hsl(142, 71%, 47%) Malachite