In RGB color space, #512aa4 hex color has a red value of 81, a green value of 42 and a blue value of 164.
In CMYK color space (used in color printing), #512aa4 hex color is composed of 50.61% cyan, 74.39% magenta, 0% yellow and 35.69% black.
#512aa4 color has a hue of 259.2 degrees, a saturation of 59.22% and a lightness of 40.4%.
#512aa4 hex color contains mainly BLUE.
The closest web safe color of #512aa4 is #663399
#512aa4 hex color has a decimal value of 5319332.
HEX | 512aa4 | #512aa4 |
---|---|---|
RGB | 81, 42, 164 | rgb(81, 42, 164) |
RGB Percent | 31.76, 16.47, 64.31 | rgb(31.76, 16.47, 64.31) |
CMYK | 51, 74, 0, 36 | |
HSL | 259.2°, 59.22, 40.4 | hsl(259.2, 59.22%, 40.4%) |
HSV | 259.2°, 74.4, 64.3 |
XYZ | 10.922, 6.086, 35.721 |
---|---|
Hunter Lab | 24.67, 35.855, -68.581 |
CIE-LAB | 29.628, 46.411, -59.269 |
CIE-LCH | 29.628, 75.278, 308.063 |
CIE-LUV | 50.61, 74.39, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #512aa4
CMYK percent of color #512aa4
Text with hexadecimal color #512aa4
This text has a font color of #512aa4
<p style="color:#512aa4">Text here</p>
#512aa4 Background Color
This box has a background color of #512aa4
<div style="background-color:#512aa4">Text here</div>
#512aa4 Border Color
This box has a border color of #512aa4
<div style="border: 4px solid #512aa4">Text here</div>
CSS codes
<p style="color:#512aa4">Text here</p>
<div style="background-color:#512aa4">Text here</div>
<div style="border: 4px solid #512aa4">Text here</div>
#512aa4 Color on white background
This is how a font and box color of #512aa4 will look
on a white background.
#512aa4 Color on black background
This is how a font and box color of #512aa4 hex color will look
on a black background.