#4c28fa ≈ Han Purple
#4c28fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 29.8% red, 15.69% green and 98.04% blue; printed in CMYK it uses 69.6% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 250.29°, with 95.45% saturation and 56.86% 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.02:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.73.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0996 |
Shades
#4c28fa mixed progressively with black.
Tints
#4c28fa mixed progressively with white.
Tones
#4c28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4c28fa {
color: #4c28fa;
}
.bg-4c28fa {
background-color: #4c28fa;
color: #ffffff;
}
.border-4c28fa {
border: 2px solid #4c28fa;
}
:root {
--color-primary: #4c28fa;
--color-primary-rgb: 76 40 250;
--color-primary-hsl: 250 95% 57%;
}
.gradient-4c28fa {
background: linear-gradient(135deg, #4c28fa, #b528fa);
}
.shadow-4c28fa {
box-shadow: 0 8px 24px rgb(76 40 250 / 0.35);
}
Han Purple
#4c28fa rgb(76, 40, 250) hsl(250, 95%, 57%) Han Purple
#d6fa28 rgb(214, 250, 40) hsl(70, 95%, 57%) Chartreuse Yellow
#fa4c28 rgb(250, 76, 40) hsl(10, 95%, 57%) Coquelicot
#28fa4c rgb(40, 250, 76) hsl(130, 95%, 57%) Lime