In RGB color space, #512481 hex color has a red value of 81, a green value of 36 and a blue value of 129.
In CMYK color space (used in color printing), #512481 hex color is composed of 37.21% cyan, 72.09% magenta, 0% yellow and 49.41% black.
#512481 color has a hue of 269 degrees, a saturation of 56.36% and a lightness of 32.4%.
#512481 hex color contains mainly BLUE.
The closest web safe color of #512481 is #663399
#512481 hex color has a decimal value of 5317761.
HEX | 512481 | #512481 |
---|---|---|
RGB | 81, 36, 129 | rgb(81, 36, 129) |
RGB Percent | 31.76, 14.12, 50.59 | rgb(31.76, 14.12, 50.59) |
CMYK | 37, 72, 0, 49 | |
HSL | 269°, 56.36, 32.4 | hsl(269, 56.36%, 32.4%) |
HSV | 269°, 72.1, 50.6 |
XYZ | 7.987, 4.596, 21.235 |
---|---|
Hunter Lab | 21.438, 28.985, -43.721 |
CIE-LAB | 25.551, 39.903, -44.343 |
CIE-LCH | 25.551, 59.654, 311.983 |
CIE-LUV | 37.21, 72.09, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #512481
CMYK percent of color #512481
Text with hexadecimal color #512481
This text has a font color of #512481
<p style="color:#512481">Text here</p>
#512481 Background Color
This box has a background color of #512481
<div style="background-color:#512481">Text here</div>
#512481 Border Color
This box has a border color of #512481
<div style="border: 4px solid #512481">Text here</div>
CSS codes
<p style="color:#512481">Text here</p>
<div style="background-color:#512481">Text here</div>
<div style="border: 4px solid #512481">Text here</div>
#512481 Color on white background
This is how a font and box color of #512481 will look
on a white background.
#512481 Color on black background
This is how a font and box color of #512481 hex color will look
on a black background.