#5f1fca ≈ Han Purple
#5f1fca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 12.16% green and 79.22% blue; printed in CMYK it uses 52.97% cyan, 84.65% magenta, 0% yellow and 20.78% black. Its hue angle is 262.46°, with 73.39% saturation and 45.69% 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.28:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.56.
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.0768 |
Shades
#5f1fca mixed progressively with black.
Tints
#5f1fca mixed progressively with white.
Tones
#5f1fca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f1fca {
color: #5f1fca;
}
.bg-5f1fca {
background-color: #5f1fca;
color: #ffffff;
}
.border-5f1fca {
border: 2px solid #5f1fca;
}
:root {
--color-primary: #5f1fca;
--color-primary-rgb: 95 31 202;
--color-primary-hsl: 262 73% 46%;
}
.gradient-5f1fca {
background: linear-gradient(135deg, #5f1fca, #b51fca);
}
.shadow-5f1fca {
box-shadow: 0 8px 24px rgb(95 31 202 / 0.35);
}
Han Purple
#5f1fca rgb(95, 31, 202) hsl(262, 73%, 46%) Han Purple
#8aca1f rgb(138, 202, 31) hsl(82, 73%, 46%) Yellow Green
#ca5f1f rgb(202, 95, 31) hsl(22, 73%, 46%) Burnt Orange
#1fca5f rgb(31, 202, 95) hsl(142, 73%, 46%) Emerald