#4e1dec ≈ Han Purple
#4e1dec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 11.37% green and 92.55% blue; printed in CMYK it uses 66.95% cyan, 87.71% magenta, 0% yellow and 7.45% black. Its hue angle is 254.2°, with 84.49% saturation and 51.96% 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.75:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.7.
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.0855 |
Shades
#4e1dec mixed progressively with black.
Tints
#4e1dec mixed progressively with white.
Tones
#4e1dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e1dec {
color: #4e1dec;
}
.bg-4e1dec {
background-color: #4e1dec;
color: #ffffff;
}
.border-4e1dec {
border: 2px solid #4e1dec;
}
:root {
--color-primary: #4e1dec;
--color-primary-rgb: 78 29 236;
--color-primary-hsl: 254 84% 52%;
}
.gradient-4e1dec {
background: linear-gradient(135deg, #4e1dec, #b51dec);
}
.shadow-4e1dec {
box-shadow: 0 8px 24px rgb(78 29 236 / 0.35);
}
Han Purple
#4e1dec rgb(78, 29, 236) hsl(254, 84%, 52%) Han Purple
#bbec1d rgb(187, 236, 29) hsl(74, 84%, 52%) Electric Lime
#ec4e1d rgb(236, 78, 29) hsl(14, 84%, 52%) Flame
#1dec4e rgb(29, 236, 78) hsl(134, 84%, 52%) Malachite