In RGB color space, #510987 hex color has a red value of 81, a green value of 9 and a blue value of 135.
In CMYK color space (used in color printing), #510987 hex color is composed of 40% cyan, 93.33% magenta, 0% yellow and 47.06% black.
#510987 color has a hue of 274.3 degrees, a saturation of 87.5% and a lightness of 28.2%.
#510987 hex color contains mainly BLUE.
The closest web safe color of #510987 is #660099
#510987 hex color has a decimal value of 5310855.
HEX | 510987 | #510987 |
---|---|---|
RGB | 81, 9, 135 | rgb(81, 9, 135) |
RGB Percent | 31.76, 3.53, 52.94 | rgb(31.76, 3.53, 52.94) |
CMYK | 40, 93, 0, 47 | |
HSL | 274.3°, 87.5, 28.2 | hsl(274.3, 87.5%, 28.2%) |
HSV | 274.3°, 93.3, 52.9 |
XYZ | 7.864, 3.694, 23.22 |
---|---|
Hunter Lab | 19.22, 39.401, -58.176 |
CIE-LAB | 22.633, 51.353, -52.881 |
CIE-LCH | 22.633, 73.712, 314.16 |
CIE-LUV | 40, 93.33, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #510987
CMYK percent of color #510987
Text with hexadecimal color #510987
This text has a font color of #510987
<p style="color:#510987">Text here</p>
#510987 Background Color
This box has a background color of #510987
<div style="background-color:#510987">Text here</div>
#510987 Border Color
This box has a border color of #510987
<div style="border: 4px solid #510987">Text here</div>
CSS codes
<p style="color:#510987">Text here</p>
<div style="background-color:#510987">Text here</div>
<div style="border: 4px solid #510987">Text here</div>
#510987 Color on white background
This is how a font and box color of #510987 will look
on a white background.
#510987 Color on black background
This is how a font and box color of #510987 hex color will look
on a black background.