In RGB color space, #511d8c hex color has a red value of 81, a green value of 29 and a blue value of 140.
In CMYK color space (used in color printing), #511d8c hex color is composed of 42.14% cyan, 79.29% magenta, 0% yellow and 45.1% black.
#511d8c color has a hue of 268.1 degrees, a saturation of 65.68% and a lightness of 33.1%.
#511d8c hex color contains mainly BLUE.
The closest web safe color of #511d8c is #663399
#511d8c hex color has a decimal value of 5315980.
HEX | 511d8c | #511d8c |
---|---|---|
RGB | 81, 29, 140 | rgb(81, 29, 140) |
RGB Percent | 31.76, 11.37, 54.9 | rgb(31.76, 11.37, 54.9) |
CMYK | 42, 79, 0, 45 | |
HSL | 268.1°, 65.68, 33.1 | hsl(268.1, 65.68%, 33.1%) |
HSV | 268.1°, 79.3, 54.9 |
XYZ | 8.566, 4.522, 25.232 |
---|---|
Hunter Lab | 21.265, 34.69, -55.465 |
CIE-LAB | 25.327, 46.039, -51.592 |
CIE-LCH | 25.327, 69.147, 311.745 |
CIE-LUV | 42.14, 79.29, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #511d8c
CMYK percent of color #511d8c
Text with hexadecimal color #511d8c
This text has a font color of #511d8c
<p style="color:#511d8c">Text here</p>
#511d8c Background Color
This box has a background color of #511d8c
<div style="background-color:#511d8c">Text here</div>
#511d8c Border Color
This box has a border color of #511d8c
<div style="border: 4px solid #511d8c">Text here</div>
CSS codes
<p style="color:#511d8c">Text here</p>
<div style="background-color:#511d8c">Text here</div>
<div style="border: 4px solid #511d8c">Text here</div>
#511d8c Color on white background
This is how a font and box color of #511d8c will look
on a white background.
#511d8c Color on black background
This is how a font and box color of #511d8c hex color will look
on a black background.