In RGB color space, #512858 hex color has a red value of 81, a green value of 40 and a blue value of 88.
In CMYK color space (used in color printing), #512858 hex color is composed of 7.95% cyan, 54.55% magenta, 0% yellow and 65.49% black.
#512858 color has a hue of 291.3 degrees, a saturation of 37.5% and a lightness of 25.1%.
#512858 hex color contains mainly BLUE.
The closest web safe color of #512858 is #663366
#512858 hex color has a decimal value of 5318744.
HEX | 512858 | #512858 |
---|---|---|
RGB | 81, 40, 88 | rgb(81, 40, 88) |
RGB Percent | 31.76, 15.69, 34.51 | rgb(31.76, 15.69, 34.51) |
CMYK | 8, 55, 0, 65 | |
HSL | 291.3°, 37.5, 25.1 | hsl(291.3, 37.5%, 25.1%) |
HSV | 291.3°, 54.5, 34.5 |
XYZ | 5.914, 3.971, 9.687 |
---|---|
Hunter Lab | 19.927, 18.102, -14.873 |
CIE-LAB | 23.575, 27.547, -21.051 |
CIE-LCH | 23.575, 34.67, 322.613 |
CIE-LUV | 7.95, 54.55, 0, 65.49 |
Web Safe | 663366 |
RGB percent of color #512858
CMYK percent of color #512858
Text with hexadecimal color #512858
This text has a font color of #512858
<p style="color:#512858">Text here</p>
#512858 Background Color
This box has a background color of #512858
<div style="background-color:#512858">Text here</div>
#512858 Border Color
This box has a border color of #512858
<div style="border: 4px solid #512858">Text here</div>
CSS codes
<p style="color:#512858">Text here</p>
<div style="background-color:#512858">Text here</div>
<div style="border: 4px solid #512858">Text here</div>
#512858 Color on white background
This is how a font and box color of #512858 will look
on a white background.
#512858 Color on black background
This is how a font and box color of #512858 hex color will look
on a black background.