#5b28fa ≈ Han Purple
#5b28fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.69% red, 15.69% green and 98.04% blue; printed in CMYK it uses 63.6% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 254.57°, 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.71:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.17.
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.1064 |
Shades
#5b28fa mixed progressively with black.
Tints
#5b28fa mixed progressively with white.
Tones
#5b28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5b28fa {
color: #5b28fa;
}
.bg-5b28fa {
background-color: #5b28fa;
color: #ffffff;
}
.border-5b28fa {
border: 2px solid #5b28fa;
}
:root {
--color-primary: #5b28fa;
--color-primary-rgb: 91 40 250;
--color-primary-hsl: 255 95% 57%;
}
.gradient-5b28fa {
background: linear-gradient(135deg, #5b28fa, #c428fa);
}
.shadow-5b28fa {
box-shadow: 0 8px 24px rgb(91 40 250 / 0.35);
}
Han Purple
#5b28fa rgb(91, 40, 250) hsl(255, 95%, 57%) Han Purple
#c7fa28 rgb(199, 250, 40) hsl(75, 95%, 57%) Electric Lime
#fa5b28 rgb(250, 91, 40) hsl(15, 95%, 57%) International Orange
#28fa5b rgb(40, 250, 91) hsl(135, 95%, 57%) Spring Green