In RGB color space, #510997 hex color has a red value of 81, a green value of 9 and a blue value of 151.
In CMYK color space (used in color printing), #510997 hex color is composed of 46.36% cyan, 94.04% magenta, 0% yellow and 40.78% black.
#510997 color has a hue of 270.4 degrees, a saturation of 88.75% and a lightness of 31.4%.
#510997 hex color contains mainly BLUE.
The closest web safe color of #510997 is #660099
#510997 hex color has a decimal value of 5310871.
HEX | 510997 | #510997 |
---|---|---|
RGB | 81, 9, 151 | rgb(81, 9, 151) |
RGB Percent | 31.76, 3.53, 59.22 | rgb(31.76, 3.53, 59.22) |
CMYK | 46, 94, 0, 41 | |
HSL | 270.4°, 88.75, 31.4 | hsl(270.4, 88.75%, 31.4%) |
HSV | 270.4°, 94, 59.2 |
XYZ | 9.077, 4.179, 29.606 |
---|---|
Hunter Lab | 20.443, 43.484, -71.557 |
CIE-LAB | 24.255, 55.034, -60.165 |
CIE-LCH | 24.255, 81.539, 312.45 |
CIE-LUV | 46.36, 94.04, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #510997
CMYK percent of color #510997
Text with hexadecimal color #510997
This text has a font color of #510997
<p style="color:#510997">Text here</p>
#510997 Background Color
This box has a background color of #510997
<div style="background-color:#510997">Text here</div>
#510997 Border Color
This box has a border color of #510997
<div style="border: 4px solid #510997">Text here</div>
CSS codes
<p style="color:#510997">Text here</p>
<div style="background-color:#510997">Text here</div>
<div style="border: 4px solid #510997">Text here</div>
#510997 Color on white background
This is how a font and box color of #510997 will look
on a white background.
#510997 Color on black background
This is how a font and box color of #510997 hex color will look
on a black background.