#4f28fa ≈ Han Purple
#4f28fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 30.98% red, 15.69% green and 98.04% blue; printed in CMYK it uses 68.4% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 251.14°, 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 6.96:1 (WCAG AA). 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 | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1008 |
Shades
#4f28fa mixed progressively with black.
Tints
#4f28fa mixed progressively with white.
Tones
#4f28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4f28fa {
color: #4f28fa;
}
.bg-4f28fa {
background-color: #4f28fa;
color: #ffffff;
}
.border-4f28fa {
border: 2px solid #4f28fa;
}
:root {
--color-primary: #4f28fa;
--color-primary-rgb: 79 40 250;
--color-primary-hsl: 251 95% 57%;
}
.gradient-4f28fa {
background: linear-gradient(135deg, #4f28fa, #b828fa);
}
.shadow-4f28fa {
box-shadow: 0 8px 24px rgb(79 40 250 / 0.35);
}
Han Purple
#4f28fa rgb(79, 40, 250) hsl(251, 95%, 57%) Han Purple
#d3fa28 rgb(211, 250, 40) hsl(71, 95%, 57%) Electric Lime
#fa4f28 rgb(250, 79, 40) hsl(11, 95%, 57%) Coquelicot
#28fa4f rgb(40, 250, 79) hsl(131, 95%, 57%) Lime