In RGB color space, #512b7d hex color has a red value of 81, a green value of 43 and a blue value of 125.
In CMYK color space (used in color printing), #512b7d hex color is composed of 35.2% cyan, 65.6% magenta, 0% yellow and 50.98% black.
#512b7d color has a hue of 267.8 degrees, a saturation of 48.81% and a lightness of 32.9%.
#512b7d hex color contains mainly BLUE.
The closest web safe color of #512b7d is #663366
#512b7d hex color has a decimal value of 5319549.
HEX | 512b7d | #512b7d |
---|---|---|
RGB | 81, 43, 125 | rgb(81, 43, 125) |
RGB Percent | 31.76, 16.86, 49.02 | rgb(31.76, 16.86, 49.02) |
CMYK | 35, 66, 0, 51 | |
HSL | 267.8°, 48.81, 32.9 | hsl(267.8, 48.81%, 32.9%) |
HSV | 267.8°, 65.6, 49 |
XYZ | 7.959, 4.958, 19.939 |
---|---|
Hunter Lab | 22.267, 24.837, -37.506 |
CIE-LAB | 26.615, 35.063, -40.1 |
CIE-LCH | 26.615, 53.267, 311.166 |
CIE-LUV | 35.2, 65.6, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #512b7d
CMYK percent of color #512b7d
Text with hexadecimal color #512b7d
This text has a font color of #512b7d
<p style="color:#512b7d">Text here</p>
#512b7d Background Color
This box has a background color of #512b7d
<div style="background-color:#512b7d">Text here</div>
#512b7d Border Color
This box has a border color of #512b7d
<div style="border: 4px solid #512b7d">Text here</div>
CSS codes
<p style="color:#512b7d">Text here</p>
<div style="background-color:#512b7d">Text here</div>
<div style="border: 4px solid #512b7d">Text here</div>
#512b7d Color on white background
This is how a font and box color of #512b7d will look
on a white background.
#512b7d Color on black background
This is how a font and box color of #512b7d hex color will look
on a black background.