In RGB color space, #512371 hex color has a red value of 81, a green value of 35 and a blue value of 113.
In CMYK color space (used in color printing), #512371 hex color is composed of 28.32% cyan, 69.03% magenta, 0% yellow and 55.69% black.
#512371 color has a hue of 275.4 degrees, a saturation of 52.7% and a lightness of 29%.
#512371 hex color contains mainly BLUE.
The closest web safe color of #512371 is #663366
#512371 hex color has a decimal value of 5317489.
HEX | 512371 | #512371 |
---|---|---|
RGB | 81, 35, 113 | rgb(81, 35, 113) |
RGB Percent | 31.76, 13.73, 44.31 | rgb(31.76, 13.73, 44.31) |
CMYK | 28, 69, 0, 56 | |
HSL | 275.4°, 52.7, 29 | hsl(275.4, 52.7%, 29%) |
HSV | 275.4°, 69, 44.3 |
XYZ | 6.975, 4.144, 16.055 |
---|---|
Hunter Lab | 20.357, 25.536, -32.511 |
CIE-LAB | 24.142, 36.308, -36.451 |
CIE-LCH | 24.142, 51.448, 314.887 |
CIE-LUV | 28.32, 69.03, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #512371
CMYK percent of color #512371
Text with hexadecimal color #512371
This text has a font color of #512371
<p style="color:#512371">Text here</p>
#512371 Background Color
This box has a background color of #512371
<div style="background-color:#512371">Text here</div>
#512371 Border Color
This box has a border color of #512371
<div style="border: 4px solid #512371">Text here</div>
CSS codes
<p style="color:#512371">Text here</p>
<div style="background-color:#512371">Text here</div>
<div style="border: 4px solid #512371">Text here</div>
#512371 Color on white background
This is how a font and box color of #512371 will look
on a white background.
#512371 Color on black background
This is how a font and box color of #512371 hex color will look
on a black background.