#5f28ea ≈ Han Purple
#5f28ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 15.69% green and 91.76% blue; printed in CMYK it uses 59.4% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 257.01°, with 82.2% saturation and 53.73% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.05:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0989 |
Shades
#5f28ea mixed progressively with black.
Tints
#5f28ea mixed progressively with white.
Tones
#5f28ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f28ea {
color: #5f28ea;
}
.bg-5f28ea {
background-color: #5f28ea;
color: #ffffff;
}
.border-5f28ea {
border: 2px solid #5f28ea;
}
:root {
--color-primary: #5f28ea;
--color-primary-rgb: 95 40 234;
--color-primary-hsl: 257 82% 54%;
}
.gradient-5f28ea {
background: linear-gradient(135deg, #5f28ea, #c028ea);
}
.shadow-5f28ea {
box-shadow: 0 8px 24px rgb(95 40 234 / 0.35);
}
Han Purple
#5f28ea rgb(95, 40, 234) hsl(257, 82%, 54%) Han Purple
#b3ea28 rgb(179, 234, 40) hsl(77, 82%, 54%) Inchworm
#ea5f28 rgb(234, 95, 40) hsl(17, 82%, 54%) Flame
#28ea5f rgb(40, 234, 95) hsl(137, 82%, 54%) Malachite