In RGB color space, #512f7d hex color has a red value of 81, a green value of 47 and a blue value of 125.
In CMYK color space (used in color printing), #512f7d hex color is composed of 35.2% cyan, 62.4% magenta, 0% yellow and 50.98% black.
#512f7d color has a hue of 266.2 degrees, a saturation of 45.35% and a lightness of 33.7%.
#512f7d hex color contains mainly BLUE.
The closest web safe color of #512f7d is #663366
#512f7d hex color has a decimal value of 5320573.
HEX | 512f7d | #512f7d |
---|---|---|
RGB | 81, 47, 125 | rgb(81, 47, 125) |
RGB Percent | 31.76, 18.43, 49.02 | rgb(31.76, 18.43, 49.02) |
CMYK | 35, 62, 0, 51 | |
HSL | 266.2°, 45.35, 33.7 | hsl(266.2, 45.35%, 33.7%) |
HSV | 266.2°, 62.4, 49 |
XYZ | 8.112, 5.263, 19.99 |
---|---|
Hunter Lab | 22.941, 22.97, -35.604 |
CIE-LAB | 27.471, 32.764, -38.72 |
CIE-LCH | 27.471, 50.722, 310.237 |
CIE-LUV | 35.2, 62.4, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #512f7d
CMYK percent of color #512f7d
Text with hexadecimal color #512f7d
This text has a font color of #512f7d
<p style="color:#512f7d">Text here</p>
#512f7d Background Color
This box has a background color of #512f7d
<div style="background-color:#512f7d">Text here</div>
#512f7d Border Color
This box has a border color of #512f7d
<div style="border: 4px solid #512f7d">Text here</div>
CSS codes
<p style="color:#512f7d">Text here</p>
<div style="background-color:#512f7d">Text here</div>
<div style="border: 4px solid #512f7d">Text here</div>
#512f7d Color on white background
This is how a font and box color of #512f7d will look
on a white background.
#512f7d Color on black background
This is how a font and box color of #512f7d hex color will look
on a black background.