In RGB color space, #512a9f hex color has a red value of 81, a green value of 42 and a blue value of 159.
In CMYK color space (used in color printing), #512a9f hex color is composed of 49.06% cyan, 73.58% magenta, 0% yellow and 37.65% black.
#512a9f color has a hue of 260 degrees, a saturation of 58.21% and a lightness of 39.4%.
#512a9f hex color contains mainly BLUE.
The closest web safe color of #512a9f is #663399
#512a9f hex color has a decimal value of 5319327.
HEX | 512a9f | #512a9f |
---|---|---|
RGB | 81, 42, 159 | rgb(81, 42, 159) |
RGB Percent | 31.76, 16.47, 62.35 | rgb(31.76, 16.47, 62.35) |
CMYK | 49, 74, 0, 38 | |
HSL | 260°, 58.21, 39.4 | hsl(260, 58.21%, 39.4%) |
HSV | 260°, 73.6, 62.4 |
XYZ | 10.479, 5.908, 33.389 |
---|---|
Hunter Lab | 24.306, 34.419, -64.431 |
CIE-LAB | 29.179, 45.015, -56.974 |
CIE-LCH | 29.179, 72.611, 308.312 |
CIE-LUV | 49.06, 73.58, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #512a9f
CMYK percent of color #512a9f
Text with hexadecimal color #512a9f
This text has a font color of #512a9f
<p style="color:#512a9f">Text here</p>
#512a9f Background Color
This box has a background color of #512a9f
<div style="background-color:#512a9f">Text here</div>
#512a9f Border Color
This box has a border color of #512a9f
<div style="border: 4px solid #512a9f">Text here</div>
CSS codes
<p style="color:#512a9f">Text here</p>
<div style="background-color:#512a9f">Text here</div>
<div style="border: 4px solid #512a9f">Text here</div>
#512a9f Color on white background
This is how a font and box color of #512a9f will look
on a white background.
#512a9f Color on black background
This is how a font and box color of #512a9f hex color will look
on a black background.