In RGB color space, #511987 hex color has a red value of 81, a green value of 25 and a blue value of 135.
In CMYK color space (used in color printing), #511987 hex color is composed of 40% cyan, 81.48% magenta, 0% yellow and 47.06% black.
#511987 color has a hue of 270.5 degrees, a saturation of 68.75% and a lightness of 31.4%.
#511987 hex color contains mainly BLUE.
The closest web safe color of #511987 is #660099
#511987 hex color has a decimal value of 5314951.
HEX | 511987 | #511987 |
---|---|---|
RGB | 81, 25, 135 | rgb(81, 25, 135) |
RGB Percent | 31.76, 9.8, 52.94 | rgb(31.76, 9.8, 52.94) |
CMYK | 40, 81, 0, 47 | |
HSL | 270.5°, 68.75, 31.4 | hsl(270.5, 68.75%, 31.4%) |
HSV | 270.5°, 81.5, 52.9 |
XYZ | 8.114, 4.194, 23.304 |
---|---|
Hunter Lab | 20.479, 34.884, -53.132 |
CIE-LAB | 24.303, 46.44, -50.146 |
CIE-LCH | 24.303, 68.347, 312.803 |
CIE-LUV | 40, 81.48, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #511987
CMYK percent of color #511987
Text with hexadecimal color #511987
This text has a font color of #511987
<p style="color:#511987">Text here</p>
#511987 Background Color
This box has a background color of #511987
<div style="background-color:#511987">Text here</div>
#511987 Border Color
This box has a border color of #511987
<div style="border: 4px solid #511987">Text here</div>
CSS codes
<p style="color:#511987">Text here</p>
<div style="background-color:#511987">Text here</div>
<div style="border: 4px solid #511987">Text here</div>
#511987 Color on white background
This is how a font and box color of #511987 will look
on a white background.
#511987 Color on black background
This is how a font and box color of #511987 hex color will look
on a black background.