#5d04ef ≈ Han Purple
#5d04ef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 1.57% green and 93.73% blue; printed in CMYK it uses 61.09% cyan, 98.33% magenta, 0% yellow and 6.27% black. Its hue angle is 262.72°, with 96.71% saturation and 47.65% 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.69:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0865 |
Shades
#5d04ef mixed progressively with black.
Tints
#5d04ef mixed progressively with white.
Tones
#5d04ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5d04ef {
color: #5d04ef;
}
.bg-5d04ef {
background-color: #5d04ef;
color: #ffffff;
}
.border-5d04ef {
border: 2px solid #5d04ef;
}
:root {
--color-primary: #5d04ef;
--color-primary-rgb: 93 4 239;
--color-primary-hsl: 263 97% 48%;
}
.gradient-5d04ef {
background: linear-gradient(135deg, #5d04ef, #d304ef);
}
.shadow-5d04ef {
box-shadow: 0 8px 24px rgb(93 4 239 / 0.35);
}
Han Purple
#5d04ef rgb(93, 4, 239) hsl(263, 97%, 48%) Han Purple
#96ef04 rgb(150, 239, 4) hsl(83, 97%, 48%) Spring Bud
#ef5d04 rgb(239, 93, 4) hsl(23, 97%, 48%) Persimmon
#04ef5d rgb(4, 239, 93) hsl(143, 97%, 48%) Spring Green