In RGB color space, #510495 hex color has a red value of 81, a green value of 4 and a blue value of 149.
In CMYK color space (used in color printing), #510495 hex color is composed of 45.64% cyan, 97.32% magenta, 0% yellow and 41.57% black.
#510495 color has a hue of 271.9 degrees, a saturation of 94.77% and a lightness of 30%.
#510495 hex color contains mainly BLUE.
The closest web safe color of #510495 is #660099
#510495 hex color has a decimal value of 5309589.
HEX | 510495 | #510495 |
---|---|---|
RGB | 81, 4, 149 | rgb(81, 4, 149) |
RGB Percent | 31.76, 1.57, 58.43 | rgb(31.76, 1.57, 58.43) |
CMYK | 46, 97, 0, 42 | |
HSL | 271.9°, 94.77, 30 | hsl(271.9, 94.77%, 30%) |
HSV | 271.9°, 97.3, 58.4 |
XYZ | 8.862, 4.006, 28.74 |
---|---|
Hunter Lab | 20.015, 44.008, -71.125 |
CIE-LAB | 23.691, 55.643, -59.861 |
CIE-LCH | 23.691, 81.728, 312.909 |
CIE-LUV | 45.64, 97.32, 0, 41.57 |
Web Safe | 660099 |
RGB percent of color #510495
CMYK percent of color #510495
Text with hexadecimal color #510495
This text has a font color of #510495
<p style="color:#510495">Text here</p>
#510495 Background Color
This box has a background color of #510495
<div style="background-color:#510495">Text here</div>
#510495 Border Color
This box has a border color of #510495
<div style="border: 4px solid #510495">Text here</div>
CSS codes
<p style="color:#510495">Text here</p>
<div style="background-color:#510495">Text here</div>
<div style="border: 4px solid #510495">Text here</div>
#510495 Color on white background
This is how a font and box color of #510495 will look
on a white background.
#510495 Color on black background
This is how a font and box color of #510495 hex color will look
on a black background.