In RGB color space, #510c9e hex color has a red value of 81, a green value of 12 and a blue value of 158.
In CMYK color space (used in color printing), #510c9e hex color is composed of 48.73% cyan, 92.41% magenta, 0% yellow and 38.04% black.
#510c9e color has a hue of 268.4 degrees, a saturation of 85.88% and a lightness of 33.3%.
#510c9e hex color contains mainly BLUE.
The closest web safe color of #510c9e is #660099
#510c9e hex color has a decimal value of 5311646.
HEX | 510c9e | #510c9e |
---|---|---|
RGB | 81, 12, 158 | rgb(81, 12, 158) |
RGB Percent | 31.76, 4.71, 61.96 | rgb(31.76, 4.71, 61.96) |
CMYK | 49, 92, 0, 38 | |
HSL | 268.4°, 85.88, 33.3 | hsl(268.4, 85.88%, 33.3%) |
HSV | 268.4°, 92.4, 62 |
XYZ | 9.696, 4.481, 32.702 |
---|---|
Hunter Lab | 21.168, 44.716, -76.776 |
CIE-LAB | 25.202, 56.032, -62.9 |
CIE-LCH | 25.202, 84.238, 311.695 |
CIE-LUV | 48.73, 92.41, 0, 38.04 |
Web Safe | 660099 |
RGB percent of color #510c9e
CMYK percent of color #510c9e
Text with hexadecimal color #510c9e
This text has a font color of #510c9e
<p style="color:#510c9e">Text here</p>
#510c9e Background Color
This box has a background color of #510c9e
<div style="background-color:#510c9e">Text here</div>
#510c9e Border Color
This box has a border color of #510c9e
<div style="border: 4px solid #510c9e">Text here</div>
CSS codes
<p style="color:#510c9e">Text here</p>
<div style="background-color:#510c9e">Text here</div>
<div style="border: 4px solid #510c9e">Text here</div>
#510c9e Color on white background
This is how a font and box color of #510c9e will look
on a white background.
#510c9e Color on black background
This is how a font and box color of #510c9e hex color will look
on a black background.