In RGB color space, #510040 hex color has a red value of 81, a green value of 0 and a blue value of 64.
In CMYK color space (used in color printing), #510040 hex color is composed of 0% cyan, 100% magenta, 20.99% yellow and 68.24% black.
#510040 color has a hue of 312.6 degrees, a saturation of 100% and a lightness of 15.9%.
#510040 hex color contains mainly RED.
The closest web safe color of #510040 is #660033
#510040 hex color has a decimal value of 5308480.
HEX | 510040 | #510040 |
---|---|---|
RGB | 81, 0, 64 | rgb(81, 0, 64) |
RGB Percent | 31.76, 0, 25.1 | rgb(31.76, 0, 25.1) |
CMYK | 0, 100, 21, 68 | |
HSL | 312.6°, 100, 15.9 | hsl(312.6, 100%, 15.9%) |
HSV | 312.6°, 100, 31.8 |
XYZ | 4.319, 2.119, 5.032 |
---|---|
Hunter Lab | 14.557, 27.487, -10.306 |
CIE-LAB | 16.1, 40.062, -16.428 |
CIE-LCH | 16.1, 43.299, 337.703 |
CIE-LUV | 0, 100, 20.99, 68.24 |
Web Safe | 660033 |
RGB percent of color #510040
CMYK percent of color #510040
Text with hexadecimal color #510040
This text has a font color of #510040
<p style="color:#510040">Text here</p>
#510040 Background Color
This box has a background color of #510040
<div style="background-color:#510040">Text here</div>
#510040 Border Color
This box has a border color of #510040
<div style="border: 4px solid #510040">Text here</div>
CSS codes
<p style="color:#510040">Text here</p>
<div style="background-color:#510040">Text here</div>
<div style="border: 4px solid #510040">Text here</div>
#510040 Color on white background
This is how a font and box color of #510040 will look
on a white background.
#510040 Color on black background
This is how a font and box color of #510040 hex color will look
on a black background.