In RGB color space, #512170 hex color has a red value of 81, a green value of 33 and a blue value of 112.
In CMYK color space (used in color printing), #512170 hex color is composed of 27.68% cyan, 70.54% magenta, 0% yellow and 56.08% black.
#512170 color has a hue of 276.5 degrees, a saturation of 54.48% and a lightness of 28.4%.
#512170 hex color contains mainly BLUE.
The closest web safe color of #512170 is #663366
#512170 hex color has a decimal value of 5316976.
HEX | 512170 | #512170 |
---|---|---|
RGB | 81, 33, 112 | rgb(81, 33, 112) |
RGB Percent | 31.76, 12.94, 43.92 | rgb(31.76, 12.94, 43.92) |
CMYK | 28, 71, 0, 56 | |
HSL | 276.5°, 54.48, 28.4 | hsl(276.5, 54.48%, 28.4%) |
HSV | 276.5°, 70.5, 43.9 |
XYZ | 6.862, 4.007, 15.741 |
---|---|
Hunter Lab | 20.017, 26.159, -32.611 |
CIE-LAB | 23.695, 37.1, -36.528 |
CIE-LCH | 23.695, 52.064, 315.445 |
CIE-LUV | 27.68, 70.54, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #512170
CMYK percent of color #512170
Text with hexadecimal color #512170
This text has a font color of #512170
<p style="color:#512170">Text here</p>
#512170 Background Color
This box has a background color of #512170
<div style="background-color:#512170">Text here</div>
#512170 Border Color
This box has a border color of #512170
<div style="border: 4px solid #512170">Text here</div>
CSS codes
<p style="color:#512170">Text here</p>
<div style="background-color:#512170">Text here</div>
<div style="border: 4px solid #512170">Text here</div>
#512170 Color on white background
This is how a font and box color of #512170 will look
on a white background.
#512170 Color on black background
This is how a font and box color of #512170 hex color will look
on a black background.