#4e28eb ≈ Han Purple
#4e28eb 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 92.16% blue; printed in CMYK it uses 66.81% cyan, 82.98% magenta, 0% yellow and 7.84% black. Its hue angle is 251.69°, with 82.98% saturation and 53.92% 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.43:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.02.
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.0914 |
Shades
#4e28eb mixed progressively with black.
Tints
#4e28eb mixed progressively with white.
Tones
#4e28eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e28eb {
color: #4e28eb;
}
.bg-4e28eb {
background-color: #4e28eb;
color: #ffffff;
}
.border-4e28eb {
border: 2px solid #4e28eb;
}
:root {
--color-primary: #4e28eb;
--color-primary-rgb: 78 40 235;
--color-primary-hsl: 252 83% 54%;
}
.gradient-4e28eb {
background: linear-gradient(135deg, #4e28eb, #af28eb);
}
.shadow-4e28eb {
box-shadow: 0 8px 24px rgb(78 40 235 / 0.35);
}
Han Purple
#4e28eb rgb(78, 40, 235) hsl(252, 83%, 54%) Han Purple
#c5eb28 rgb(197, 235, 40) hsl(72, 83%, 54%) Pear
#eb4e28 rgb(235, 78, 40) hsl(12, 83%, 54%) Flame
#28eb4e rgb(40, 235, 78) hsl(132, 83%, 54%) Malachite