In RGB color space, #512171 hex color has a red value of 81, a green value of 33 and a blue value of 113.
In CMYK color space (used in color printing), #512171 hex color is composed of 28.32% cyan, 70.8% magenta, 0% yellow and 55.69% black.
#512171 color has a hue of 276 degrees, a saturation of 54.79% and a lightness of 28.6%.
#512171 hex color contains mainly BLUE.
The closest web safe color of #512171 is #663366
#512171 hex color has a decimal value of 5316977.
HEX | 512171 | #512171 |
---|---|---|
RGB | 81, 33, 113 | rgb(81, 33, 113) |
RGB Percent | 31.76, 12.94, 44.31 | rgb(31.76, 12.94, 44.31) |
CMYK | 28, 71, 0, 56 | |
HSL | 276°, 54.79, 28.6 | hsl(276, 54.79%, 28.6%) |
HSV | 276°, 70.8, 44.3 |
XYZ | 6.918, 4.029, 16.036 |
---|---|
Hunter Lab | 20.072, 26.394, -33.317 |
CIE-LAB | 23.767, 37.352, -37.055 |
CIE-LCH | 23.767, 52.614, 315.229 |
CIE-LUV | 28.32, 70.8, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #512171
CMYK percent of color #512171
Text with hexadecimal color #512171
This text has a font color of #512171
<p style="color:#512171">Text here</p>
#512171 Background Color
This box has a background color of #512171
<div style="background-color:#512171">Text here</div>
#512171 Border Color
This box has a border color of #512171
<div style="border: 4px solid #512171">Text here</div>
CSS codes
<p style="color:#512171">Text here</p>
<div style="background-color:#512171">Text here</div>
<div style="border: 4px solid #512171">Text here</div>
#512171 Color on white background
This is how a font and box color of #512171 will look
on a white background.
#512171 Color on black background
This is how a font and box color of #512171 hex color will look
on a black background.