#4e1afc ≈ Han Purple
#4e1afc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 10.2% green and 98.82% blue; printed in CMYK it uses 69.05% cyan, 89.68% magenta, 0% yellow and 1.18% black. Its hue angle is 253.81°, with 97.41% saturation and 54.51% 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.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.4.
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.0939 |
Shades
#4e1afc mixed progressively with black.
Tints
#4e1afc mixed progressively with white.
Tones
#4e1afc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e1afc {
color: #4e1afc;
}
.bg-4e1afc {
background-color: #4e1afc;
color: #ffffff;
}
.border-4e1afc {
border: 2px solid #4e1afc;
}
:root {
--color-primary: #4e1afc;
--color-primary-rgb: 78 26 252;
--color-primary-hsl: 254 97% 55%;
}
.gradient-4e1afc {
background: linear-gradient(135deg, #4e1afc, #bf1afc);
}
.shadow-4e1afc {
box-shadow: 0 8px 24px rgb(78 26 252 / 0.35);
}
Han Purple
#4e1afc rgb(78, 26, 252) hsl(254, 97%, 55%) Han Purple
#c8fc1a rgb(200, 252, 26) hsl(74, 97%, 55%) Electric Lime
#fc4e1a rgb(252, 78, 26) hsl(14, 97%, 55%) Orange Red
#1afc4e rgb(26, 252, 78) hsl(134, 97%, 55%) Lime