In RGB color space, #510042 hex color has a red value of 81, a green value of 0 and a blue value of 66.
In CMYK color space (used in color printing), #510042 hex color is composed of 0% cyan, 100% magenta, 18.52% yellow and 68.24% black.
#510042 color has a hue of 311.1 degrees, a saturation of 100% and a lightness of 15.9%.
#510042 hex color contains mainly RED.
The closest web safe color of #510042 is #660033
#510042 hex color has a decimal value of 5308482.
HEX | 510042 | #510042 |
---|---|---|
RGB | 81, 0, 66 | rgb(81, 0, 66) |
RGB Percent | 31.76, 0, 25.88 | rgb(31.76, 0, 25.88) |
CMYK | 0, 100, 19, 68 | |
HSL | 311.1°, 100, 15.9 | hsl(311.1, 100%, 15.9%) |
HSV | 311.1°, 100, 31.8 |
XYZ | 4.377, 2.143, 5.337 |
---|---|
Hunter Lab | 14.639, 27.753, -11.368 |
CIE-LAB | 16.22, 40.337, -17.641 |
CIE-LCH | 16.22, 44.026, 336.378 |
CIE-LUV | 0, 100, 18.52, 68.24 |
Web Safe | 660033 |
RGB percent of color #510042
CMYK percent of color #510042
Text with hexadecimal color #510042
This text has a font color of #510042
<p style="color:#510042">Text here</p>
#510042 Background Color
This box has a background color of #510042
<div style="background-color:#510042">Text here</div>
#510042 Border Color
This box has a border color of #510042
<div style="border: 4px solid #510042">Text here</div>
CSS codes
<p style="color:#510042">Text here</p>
<div style="background-color:#510042">Text here</div>
<div style="border: 4px solid #510042">Text here</div>
#510042 Color on white background
This is how a font and box color of #510042 will look
on a white background.
#510042 Color on black background
This is how a font and box color of #510042 hex color will look
on a black background.