In RGB color space, #510498 hex color has a red value of 81, a green value of 4 and a blue value of 152.
In CMYK color space (used in color printing), #510498 hex color is composed of 46.71% cyan, 97.37% magenta, 0% yellow and 40.39% black.
#510498 color has a hue of 271.2 degrees, a saturation of 94.87% and a lightness of 30.6%.
#510498 hex color contains mainly BLUE.
The closest web safe color of #510498 is #660099
#510498 hex color has a decimal value of 5309592.
HEX | 510498 | #510498 |
---|---|---|
RGB | 81, 4, 152 | rgb(81, 4, 152) |
RGB Percent | 31.76, 1.57, 59.61 | rgb(31.76, 1.57, 59.61) |
CMYK | 47, 97, 0, 40 | |
HSL | 271.2°, 94.87, 30.6 | hsl(271.2, 94.87%, 30.6%) |
HSV | 271.2°, 97.4, 59.6 |
XYZ | 9.104, 4.103, 30.018 |
---|---|
Hunter Lab | 20.256, 44.779, -73.685 |
CIE-LAB | 24.009, 56.318, -61.187 |
CIE-LCH | 24.009, 83.16, 312.627 |
CIE-LUV | 46.71, 97.37, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #510498
CMYK percent of color #510498
Text with hexadecimal color #510498
This text has a font color of #510498
<p style="color:#510498">Text here</p>
#510498 Background Color
This box has a background color of #510498
<div style="background-color:#510498">Text here</div>
#510498 Border Color
This box has a border color of #510498
<div style="border: 4px solid #510498">Text here</div>
CSS codes
<p style="color:#510498">Text here</p>
<div style="background-color:#510498">Text here</div>
<div style="border: 4px solid #510498">Text here</div>
#510498 Color on white background
This is how a font and box color of #510498 will look
on a white background.
#510498 Color on black background
This is how a font and box color of #510498 hex color will look
on a black background.