#4e28cd ≈ Han Purple
#4e28cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 15.69% green and 80.39% blue; printed in CMYK it uses 61.95% cyan, 80.49% magenta, 0% yellow and 19.61% black. Its hue angle is 253.82°, with 67.35% saturation and 48.04% 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 brand accents. White text on this color reaches a contrast ratio of 8.37:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0755 |
Shades
#4e28cd mixed progressively with black.
Tints
#4e28cd mixed progressively with white.
Tones
#4e28cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e28cd {
color: #4e28cd;
}
.bg-4e28cd {
background-color: #4e28cd;
color: #ffffff;
}
.border-4e28cd {
border: 2px solid #4e28cd;
}
:root {
--color-primary: #4e28cd;
--color-primary-rgb: 78 40 205;
--color-primary-hsl: 254 67% 48%;
}
.gradient-4e28cd {
background: linear-gradient(135deg, #4e28cd, #a128cd);
}
.shadow-4e28cd {
box-shadow: 0 8px 24px rgb(78 40 205 / 0.35);
}
Han Purple
#4e28cd rgb(78, 40, 205) hsl(254, 67%, 48%) Han Purple
#a7cd28 rgb(167, 205, 40) hsl(74, 67%, 48%) Yellow Green
#cd4e28 rgb(205, 78, 40) hsl(14, 67%, 48%) Sinopia
#28cd4e rgb(40, 205, 78) hsl(134, 67%, 48%) Lime Green