#4e31ec ≈ Han Purple
#4e31ec 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.55% blue; printed in CMYK it uses 66.95% cyan, 79.24% magenta, 0% yellow and 7.45% black. Its hue angle is 249.3°, with 83.11% saturation and 55.88% 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.06:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.96.
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.0987 |
Shades
#4e31ec mixed progressively with black.
Tints
#4e31ec mixed progressively with white.
Tones
#4e31ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e31ec {
color: #4e31ec;
}
.bg-4e31ec {
background-color: #4e31ec;
color: #ffffff;
}
.border-4e31ec {
border: 2px solid #4e31ec;
}
:root {
--color-primary: #4e31ec;
--color-primary-rgb: 78 49 236;
--color-primary-hsl: 249 83% 56%;
}
.gradient-4e31ec {
background: linear-gradient(135deg, #4e31ec, #ab31ec);
}
.shadow-4e31ec {
box-shadow: 0 8px 24px rgb(78 49 236 / 0.35);
}
Han Purple
#4e31ec rgb(78, 49, 236) hsl(249, 83%, 56%) Han Purple
#cfec31 rgb(207, 236, 49) hsl(69, 83%, 56%) Pear
#ec4e31 rgb(236, 78, 49) hsl(9, 83%, 56%) Cinnabar
#31ec4e rgb(49, 236, 78) hsl(129, 83%, 56%) Malachite