In RGB color space, #512e7d hex color has a red value of 81, a green value of 46 and a blue value of 125.
In CMYK color space (used in color printing), #512e7d hex color is composed of 35.2% cyan, 63.2% magenta, 0% yellow and 50.98% black.
#512e7d color has a hue of 266.6 degrees, a saturation of 46.2% and a lightness of 33.5%.
#512e7d hex color contains mainly BLUE.
The closest web safe color of #512e7d is #663366
#512e7d hex color has a decimal value of 5320317.
HEX | 512e7d | #512e7d |
---|---|---|
RGB | 81, 46, 125 | rgb(81, 46, 125) |
RGB Percent | 31.76, 18.04, 49.02 | rgb(31.76, 18.04, 49.02) |
CMYK | 35, 63, 0, 51 | |
HSL | 266.6°, 46.2, 33.5 | hsl(266.6, 46.2%, 33.5%) |
HSV | 266.6°, 63.2, 49 |
XYZ | 8.072, 5.184, 19.977 |
---|---|
Hunter Lab | 22.768, 23.438, -36.083 |
CIE-LAB | 27.253, 33.344, -39.072 |
CIE-LCH | 27.253, 51.366, 310.477 |
CIE-LUV | 35.2, 63.2, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #512e7d
CMYK percent of color #512e7d
Text with hexadecimal color #512e7d
This text has a font color of #512e7d
<p style="color:#512e7d">Text here</p>
#512e7d Background Color
This box has a background color of #512e7d
<div style="background-color:#512e7d">Text here</div>
#512e7d Border Color
This box has a border color of #512e7d
<div style="border: 4px solid #512e7d">Text here</div>
CSS codes
<p style="color:#512e7d">Text here</p>
<div style="background-color:#512e7d">Text here</div>
<div style="border: 4px solid #512e7d">Text here</div>
#512e7d Color on white background
This is how a font and box color of #512e7d will look
on a white background.
#512e7d Color on black background
This is how a font and box color of #512e7d hex color will look
on a black background.