In RGB color space, #510c7e hex color has a red value of 81, a green value of 12 and a blue value of 126.
In CMYK color space (used in color printing), #510c7e hex color is composed of 35.71% cyan, 90.48% magenta, 0% yellow and 50.59% black.
#510c7e color has a hue of 276.3 degrees, a saturation of 82.61% and a lightness of 27.1%.
#510c7e hex color contains mainly BLUE.
The closest web safe color of #510c7e is #660066
#510c7e hex color has a decimal value of 5311614.
HEX | 510c7e | #510c7e |
---|---|---|
RGB | 81, 12, 126 | rgb(81, 12, 126) |
RGB Percent | 31.76, 4.71, 49.41 | rgb(31.76, 4.71, 49.41) |
CMYK | 36, 90, 0, 51 | |
HSL | 276.3°, 82.61, 27.1 | hsl(276.3, 82.61%, 27.1%) |
HSV | 276.3°, 90.5, 49.4 |
XYZ | 7.291, 3.519, 20.034 |
---|---|
Hunter Lab | 18.759, 36.549, -50.188 |
CIE-LAB | 22.013, 48.599, -48.214 |
CIE-LCH | 22.013, 68.458, 315.228 |
CIE-LUV | 35.71, 90.48, 0, 50.59 |
Web Safe | 660066 |
RGB percent of color #510c7e
CMYK percent of color #510c7e
Text with hexadecimal color #510c7e
This text has a font color of #510c7e
<p style="color:#510c7e">Text here</p>
#510c7e Background Color
This box has a background color of #510c7e
<div style="background-color:#510c7e">Text here</div>
#510c7e Border Color
This box has a border color of #510c7e
<div style="border: 4px solid #510c7e">Text here</div>
CSS codes
<p style="color:#510c7e">Text here</p>
<div style="background-color:#510c7e">Text here</div>
<div style="border: 4px solid #510c7e">Text here</div>
#510c7e Color on white background
This is how a font and box color of #510c7e will look
on a white background.
#510c7e Color on black background
This is how a font and box color of #510c7e hex color will look
on a black background.