In RGB color space, #510c9b hex color has a red value of 81, a green value of 12 and a blue value of 155.
In CMYK color space (used in color printing), #510c9b hex color is composed of 47.74% cyan, 92.26% magenta, 0% yellow and 39.22% black.
#510c9b color has a hue of 269 degrees, a saturation of 85.63% and a lightness of 32.7%.
#510c9b hex color contains mainly BLUE.
The closest web safe color of #510c9b is #660099
#510c9b hex color has a decimal value of 5311643.
HEX | 510c9b | #510c9b |
---|---|---|
RGB | 81, 12, 155 | rgb(81, 12, 155) |
RGB Percent | 31.76, 4.71, 60.78 | rgb(31.76, 4.71, 60.78) |
CMYK | 48, 92, 0, 39 | |
HSL | 269°, 85.63, 32.7 | hsl(269, 85.63%, 32.7%) |
HSV | 269°, 92.3, 60.8 |
XYZ | 9.441, 4.379, 31.358 |
---|---|
Hunter Lab | 20.926, 43.911, -74.199 |
CIE-LAB | 24.887, 55.324, -61.582 |
CIE-LCH | 24.887, 82.783, 311.936 |
CIE-LUV | 47.74, 92.26, 0, 39.22 |
Web Safe | 660099 |
RGB percent of color #510c9b
CMYK percent of color #510c9b
Text with hexadecimal color #510c9b
This text has a font color of #510c9b
<p style="color:#510c9b">Text here</p>
#510c9b Background Color
This box has a background color of #510c9b
<div style="background-color:#510c9b">Text here</div>
#510c9b Border Color
This box has a border color of #510c9b
<div style="border: 4px solid #510c9b">Text here</div>
CSS codes
<p style="color:#510c9b">Text here</p>
<div style="background-color:#510c9b">Text here</div>
<div style="border: 4px solid #510c9b">Text here</div>
#510c9b Color on white background
This is how a font and box color of #510c9b will look
on a white background.
#510c9b Color on black background
This is how a font and box color of #510c9b hex color will look
on a black background.