#4e2afa ≈ Han Purple
#4e2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.59% red, 16.47% green and 98.04% blue; printed in CMYK it uses 68.8% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 250.38°, with 95.41% saturation and 57.25% 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 6.92:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.
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.1018 |
Shades
#4e2afa mixed progressively with black.
Tints
#4e2afa mixed progressively with white.
Tones
#4e2afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2afa {
color: #4e2afa;
}
.bg-4e2afa {
background-color: #4e2afa;
color: #ffffff;
}
.border-4e2afa {
border: 2px solid #4e2afa;
}
:root {
--color-primary: #4e2afa;
--color-primary-rgb: 78 42 250;
--color-primary-hsl: 250 95% 57%;
}
.gradient-4e2afa {
background: linear-gradient(135deg, #4e2afa, #b62afa);
}
.shadow-4e2afa {
box-shadow: 0 8px 24px rgb(78 42 250 / 0.35);
}
Han Purple
#4e2afa rgb(78, 42, 250) hsl(250, 95%, 57%) Han Purple
#d6fa2a rgb(214, 250, 42) hsl(70, 95%, 57%) Chartreuse Yellow
#fa4e2a rgb(250, 78, 42) hsl(10, 95%, 57%) Coquelicot
#2afa4e rgb(42, 250, 78) hsl(130, 95%, 57%) Lime