#512cd2 ≈ Han Purple
#512cd2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 17.25% green and 82.35% blue; printed in CMYK it uses 61.43% cyan, 79.05% magenta, 0% yellow and 17.65% black. Its hue angle is 253.37°, with 65.35% saturation and 49.8% 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 7.95:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.6.
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.082 |
Shades
#512cd2 mixed progressively with black.
Tints
#512cd2 mixed progressively with white.
Tones
#512cd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512cd2 {
color: #512cd2;
}
.bg-512cd2 {
background-color: #512cd2;
color: #ffffff;
}
.border-512cd2 {
border: 2px solid #512cd2;
}
:root {
--color-primary: #512cd2;
--color-primary-rgb: 81 44 210;
--color-primary-hsl: 253 65% 50%;
}
.gradient-512cd2 {
background: linear-gradient(135deg, #512cd2, #a42cd2);
}
.shadow-512cd2 {
box-shadow: 0 8px 24px rgb(81 44 210 / 0.35);
}
Han Purple
#512cd2 rgb(81, 44, 210) hsl(253, 65%, 50%) Han Purple
#add22c rgb(173, 210, 44) hsl(73, 65%, 50%) Yellow Green
#d2512c rgb(210, 81, 44) hsl(13, 65%, 50%) Flame
#2cd251 rgb(44, 210, 81) hsl(133, 65%, 50%) Malachite