#512bd3 ≈ Han Purple
#512bd3 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 16.86% green and 82.75% blue; printed in CMYK it uses 61.61% cyan, 79.62% magenta, 0% yellow and 17.25% black. Its hue angle is 253.57°, with 66.14% 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.97:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.46.
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.0818 |
Shades
#512bd3 mixed progressively with black.
Tints
#512bd3 mixed progressively with white.
Tones
#512bd3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512bd3 {
color: #512bd3;
}
.bg-512bd3 {
background-color: #512bd3;
color: #ffffff;
}
.border-512bd3 {
border: 2px solid #512bd3;
}
:root {
--color-primary: #512bd3;
--color-primary-rgb: 81 43 211;
--color-primary-hsl: 254 66% 50%;
}
.gradient-512bd3 {
background: linear-gradient(135deg, #512bd3, #a52bd3);
}
.shadow-512bd3 {
box-shadow: 0 8px 24px rgb(81 43 211 / 0.35);
}
Han Purple
#512bd3 rgb(81, 43, 211) hsl(254, 66%, 50%) Han Purple
#add32b rgb(173, 211, 43) hsl(74, 66%, 50%) Yellow Green
#d3512b rgb(211, 81, 43) hsl(14, 66%, 50%) Flame
#2bd351 rgb(43, 211, 81) hsl(134, 66%, 50%) Malachite