#5124cd ≈ Han Purple
#5124cd 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 80.39% blue; printed in CMYK it uses 60.49% cyan, 82.44% magenta, 0% yellow and 19.61% black. Its hue angle is 255.98°, with 70.12% saturation and 47.25% 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.45:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.17.
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.0742 |
Shades
#5124cd mixed progressively with black.
Tints
#5124cd mixed progressively with white.
Tones
#5124cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5124cd {
color: #5124cd;
}
.bg-5124cd {
background-color: #5124cd;
color: #ffffff;
}
.border-5124cd {
border: 2px solid #5124cd;
}
:root {
--color-primary: #5124cd;
--color-primary-rgb: 81 36 205;
--color-primary-hsl: 256 70% 47%;
}
.gradient-5124cd {
background: linear-gradient(135deg, #5124cd, #a524cd);
}
.shadow-5124cd {
box-shadow: 0 8px 24px rgb(81 36 205 / 0.35);
}
Han Purple
#5124cd rgb(81, 36, 205) hsl(256, 70%, 47%) Han Purple
#a0cd24 rgb(160, 205, 36) hsl(76, 70%, 47%) Yellow Green
#cd5124 rgb(205, 81, 36) hsl(16, 70%, 47%) Sinopia
#24cd51 rgb(36, 205, 81) hsl(136, 70%, 47%) Malachite