#4f2aef ≈ Han Purple
#4f2aef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.98% red, 16.47% green and 93.73% blue; printed in CMYK it uses 66.95% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 251.27°, with 86.03% saturation and 55.1% 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.22:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.95.
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.0955 |
Shades
#4f2aef mixed progressively with black.
Tints
#4f2aef mixed progressively with white.
Tones
#4f2aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4f2aef {
color: #4f2aef;
}
.bg-4f2aef {
background-color: #4f2aef;
color: #ffffff;
}
.border-4f2aef {
border: 2px solid #4f2aef;
}
:root {
--color-primary: #4f2aef;
--color-primary-rgb: 79 42 239;
--color-primary-hsl: 251 86% 55%;
}
.gradient-4f2aef {
background: linear-gradient(135deg, #4f2aef, #b22aef);
}
.shadow-4f2aef {
box-shadow: 0 8px 24px rgb(79 42 239 / 0.35);
}
Han Purple
#4f2aef rgb(79, 42, 239) hsl(251, 86%, 55%) Han Purple
#caef2a rgb(202, 239, 42) hsl(71, 86%, 55%) Electric Lime
#ef4f2a rgb(239, 79, 42) hsl(11, 86%, 55%) Coquelicot
#2aef4f rgb(42, 239, 79) hsl(131, 86%, 55%) Malachite