In RGB color space, #510f8c hex color has a red value of 81, a green value of 15 and a blue value of 140.
In CMYK color space (used in color printing), #510f8c hex color is composed of 42.14% cyan, 89.29% magenta, 0% yellow and 45.1% black.
#510f8c color has a hue of 271.7 degrees, a saturation of 80.65% and a lightness of 30.4%.
#510f8c hex color contains mainly BLUE.
The closest web safe color of #510f8c is #660099
#510f8c hex color has a decimal value of 5312396.
HEX | 510f8c | #510f8c |
---|---|---|
RGB | 81, 15, 140 | rgb(81, 15, 140) |
RGB Percent | 31.76, 5.88, 54.9 | rgb(31.76, 5.88, 54.9) |
CMYK | 42, 89, 0, 45 | |
HSL | 271.7°, 80.65, 30.4 | hsl(271.7, 80.65%, 30.4%) |
HSV | 271.7°, 89.3, 54.9 |
XYZ | 8.298, 3.984, 25.143 |
---|---|
Hunter Lab | 19.96, 39.278, -60.714 |
CIE-LAB | 23.618, 51.041, -54.394 |
CIE-LCH | 23.618, 74.591, 313.179 |
CIE-LUV | 42.14, 89.29, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #510f8c
CMYK percent of color #510f8c
Text with hexadecimal color #510f8c
This text has a font color of #510f8c
<p style="color:#510f8c">Text here</p>
#510f8c Background Color
This box has a background color of #510f8c
<div style="background-color:#510f8c">Text here</div>
#510f8c Border Color
This box has a border color of #510f8c
<div style="border: 4px solid #510f8c">Text here</div>
CSS codes
<p style="color:#510f8c">Text here</p>
<div style="background-color:#510f8c">Text here</div>
<div style="border: 4px solid #510f8c">Text here</div>
#510f8c Color on white background
This is how a font and box color of #510f8c will look
on a white background.
#510f8c Color on black background
This is how a font and box color of #510f8c hex color will look
on a black background.