#4e31eb ≈ Han Purple
#4e31eb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 19.22% green and 92.16% blue; printed in CMYK it uses 66.81% cyan, 79.15% magenta, 0% yellow and 7.84% black. Its hue angle is 249.35°, with 82.3% saturation and 55.69% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.
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.0981 |
Shades
#4e31eb mixed progressively with black.
Tints
#4e31eb mixed progressively with white.
Tones
#4e31eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e31eb {
color: #4e31eb;
}
.bg-4e31eb {
background-color: #4e31eb;
color: #ffffff;
}
.border-4e31eb {
border: 2px solid #4e31eb;
}
:root {
--color-primary: #4e31eb;
--color-primary-rgb: 78 49 235;
--color-primary-hsl: 249 82% 56%;
}
.gradient-4e31eb {
background: linear-gradient(135deg, #4e31eb, #ab31eb);
}
.shadow-4e31eb {
box-shadow: 0 8px 24px rgb(78 49 235 / 0.35);
}
Han Purple
#4e31eb rgb(78, 49, 235) hsl(249, 82%, 56%) Han Purple
#ceeb31 rgb(206, 235, 49) hsl(69, 82%, 56%) Pear
#eb4e31 rgb(235, 78, 49) hsl(9, 82%, 56%) Cinnabar
#31eb4e rgb(49, 235, 78) hsl(129, 82%, 56%) Malachite