In RGB color space, #512157 hex color has a red value of 81, a green value of 33 and a blue value of 87.
In CMYK color space (used in color printing), #512157 hex color is composed of 6.9% cyan, 62.07% magenta, 0% yellow and 65.88% black.
#512157 color has a hue of 293.3 degrees, a saturation of 45% and a lightness of 23.5%.
#512157 hex color contains mainly BLUE.
The closest web safe color of #512157 is #663366
#512157 hex color has a decimal value of 5316951.
HEX | 512157 | #512157 |
---|---|---|
RGB | 81, 33, 87 | rgb(81, 33, 87) |
RGB Percent | 31.76, 12.94, 34.12 | rgb(31.76, 12.94, 34.12) |
CMYK | 7, 62, 0, 66 | |
HSL | 293.3°, 45, 23.5 | hsl(293.3, 45%, 23.5%) |
HSV | 293.3°, 62.1, 34.1 |
XYZ | 5.657, 3.525, 9.399 |
---|---|
Hunter Lab | 18.775, 20.927, -16.539 |
CIE-LAB | 22.034, 31.276, -22.813 |
CIE-LCH | 22.034, 38.712, 323.893 |
CIE-LUV | 6.9, 62.07, 0, 65.88 |
Web Safe | 663366 |
RGB percent of color #512157
CMYK percent of color #512157
Text with hexadecimal color #512157
This text has a font color of #512157
<p style="color:#512157">Text here</p>
#512157 Background Color
This box has a background color of #512157
<div style="background-color:#512157">Text here</div>
#512157 Border Color
This box has a border color of #512157
<div style="border: 4px solid #512157">Text here</div>
CSS codes
<p style="color:#512157">Text here</p>
<div style="background-color:#512157">Text here</div>
<div style="border: 4px solid #512157">Text here</div>
#512157 Color on white background
This is how a font and box color of #512157 will look
on a white background.
#512157 Color on black background
This is how a font and box color of #512157 hex color will look
on a black background.