#511fd4 ≈ Han Purple
#511fd4 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 12.16% green and 83.14% blue; printed in CMYK it uses 61.79% cyan, 85.38% magenta, 0% yellow and 16.86% black. Its hue angle is 256.57°, with 74.49% 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.41:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.43.
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.0748 |
Shades
#511fd4 mixed progressively with black.
Tints
#511fd4 mixed progressively with white.
Tones
#511fd4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fd4 {
color: #511fd4;
}
.bg-511fd4 {
background-color: #511fd4;
color: #ffffff;
}
.border-511fd4 {
border: 2px solid #511fd4;
}
:root {
--color-primary: #511fd4;
--color-primary-rgb: 81 31 212;
--color-primary-hsl: 257 74% 48%;
}
.gradient-511fd4 {
background: linear-gradient(135deg, #511fd4, #ab1fd4);
}
.shadow-511fd4 {
box-shadow: 0 8px 24px rgb(81 31 212 / 0.35);
}
Han Purple
#511fd4 rgb(81, 31, 212) hsl(257, 74%, 48%) Han Purple
#a2d41f rgb(162, 212, 31) hsl(77, 74%, 48%) Yellow Green
#d4511f rgb(212, 81, 31) hsl(17, 74%, 48%) Flame
#1fd451 rgb(31, 212, 81) hsl(137, 74%, 48%) Malachite