#4e28f5 ≈ Han Purple
#4e28f5 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 15.69% green and 96.08% blue; printed in CMYK it uses 68.16% cyan, 83.67% magenta, 0% yellow and 3.92% black. Its hue angle is 251.12°, with 91.11% saturation and 55.88% 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.13:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.61.
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.0973 |
Shades
#4e28f5 mixed progressively with black.
Tints
#4e28f5 mixed progressively with white.
Tones
#4e28f5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e28f5 {
color: #4e28f5;
}
.bg-4e28f5 {
background-color: #4e28f5;
color: #ffffff;
}
.border-4e28f5 {
border: 2px solid #4e28f5;
}
:root {
--color-primary: #4e28f5;
--color-primary-rgb: 78 40 245;
--color-primary-hsl: 251 91% 56%;
}
.gradient-4e28f5 {
background: linear-gradient(135deg, #4e28f5, #b428f5);
}
.shadow-4e28f5 {
box-shadow: 0 8px 24px rgb(78 40 245 / 0.35);
}
Han Purple
#4e28f5 rgb(78, 40, 245) hsl(251, 91%, 56%) Han Purple
#cff528 rgb(207, 245, 40) hsl(71, 91%, 56%) Electric Lime
#f54e28 rgb(245, 78, 40) hsl(11, 91%, 56%) Coquelicot
#28f54e rgb(40, 245, 78) hsl(131, 91%, 56%) Lime