#5124cf ≈ Han Purple
#5124cf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 14.12% green and 81.18% blue; printed in CMYK it uses 60.87% cyan, 82.61% magenta, 0% yellow and 18.82% black. Its hue angle is 255.79°, with 70.37% 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 brand accents. White text on this color reaches a contrast ratio of 8.39:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.92.
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.0752 |
Shades
#5124cf mixed progressively with black.
Tints
#5124cf mixed progressively with white.
Tones
#5124cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5124cf {
color: #5124cf;
}
.bg-5124cf {
background-color: #5124cf;
color: #ffffff;
}
.border-5124cf {
border: 2px solid #5124cf;
}
:root {
--color-primary: #5124cf;
--color-primary-rgb: 81 36 207;
--color-primary-hsl: 256 70% 48%;
}
.gradient-5124cf {
background: linear-gradient(135deg, #5124cf, #a724cf);
}
.shadow-5124cf {
box-shadow: 0 8px 24px rgb(81 36 207 / 0.35);
}
Han Purple
#5124cf rgb(81, 36, 207) hsl(256, 70%, 48%) Han Purple
#a2cf24 rgb(162, 207, 36) hsl(76, 70%, 48%) Yellow Green
#cf5124 rgb(207, 81, 36) hsl(16, 70%, 48%) Sinopia
#24cf51 rgb(36, 207, 81) hsl(136, 70%, 48%) Malachite