#511cfc ≈ Han Purple
#511cfc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 10.98% green and 98.82% blue; printed in CMYK it uses 67.86% cyan, 88.89% magenta, 0% yellow and 1.18% black. Its hue angle is 254.2°, with 97.39% saturation and 54.9% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.19:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0961 |
Shades
#511cfc mixed progressively with black.
Tints
#511cfc mixed progressively with white.
Tones
#511cfc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cfc {
color: #511cfc;
}
.bg-511cfc {
background-color: #511cfc;
color: #ffffff;
}
.border-511cfc {
border: 2px solid #511cfc;
}
:root {
--color-primary: #511cfc;
--color-primary-rgb: 81 28 252;
--color-primary-hsl: 254 97% 55%;
}
.gradient-511cfc {
background: linear-gradient(135deg, #511cfc, #c11cfc);
}
.shadow-511cfc {
box-shadow: 0 8px 24px rgb(81 28 252 / 0.35);
}
Han Purple
#511cfc rgb(81, 28, 252) hsl(254, 97%, 55%) Han Purple
#c7fc1c rgb(199, 252, 28) hsl(74, 97%, 55%) Electric Lime
#fc511c rgb(252, 81, 28) hsl(14, 97%, 55%) Orange Red
#1cfc51 rgb(28, 252, 81) hsl(134, 97%, 55%) Lime