In RGB color space, #511566 hex color has a red value of 81, a green value of 21 and a blue value of 102.
In CMYK color space (used in color printing), #511566 hex color is composed of 20.59% cyan, 79.41% magenta, 0% yellow and 60% black.
#511566 color has a hue of 284.4 degrees, a saturation of 65.85% and a lightness of 24.1%.
#511566 hex color contains mainly BLUE.
The closest web safe color of #511566 is #660066
#511566 hex color has a decimal value of 5313894.
HEX | 511566 | #511566 |
---|---|---|
RGB | 81, 21, 102 | rgb(81, 21, 102) |
RGB Percent | 31.76, 8.24, 40 | rgb(31.76, 8.24, 40) |
CMYK | 21, 79, 0, 60 | |
HSL | 284.4°, 65.85, 24.1 | hsl(284.4, 65.85%, 24.1%) |
HSV | 284.4°, 79.4, 40 |
XYZ | 6.06, 3.245, 12.877 |
---|---|
Hunter Lab | 18.014, 28.524, -29.773 |
CIE-LAB | 21, 40.267, -34.378 |
CIE-LCH | 21, 52.946, 319.511 |
CIE-LUV | 20.59, 79.41, 0, 60 |
Web Safe | 660066 |
RGB percent of color #511566
CMYK percent of color #511566
Text with hexadecimal color #511566
This text has a font color of #511566
<p style="color:#511566">Text here</p>
#511566 Background Color
This box has a background color of #511566
<div style="background-color:#511566">Text here</div>
#511566 Border Color
This box has a border color of #511566
<div style="border: 4px solid #511566">Text here</div>
CSS codes
<p style="color:#511566">Text here</p>
<div style="background-color:#511566">Text here</div>
<div style="border: 4px solid #511566">Text here</div>
#511566 Color on white background
This is how a font and box color of #511566 will look
on a white background.
#511566 Color on black background
This is how a font and box color of #511566 hex color will look
on a black background.