In RGB color space, #512aa2 hex color has a red value of 81, a green value of 42 and a blue value of 162.
In CMYK color space (used in color printing), #512aa2 hex color is composed of 50% cyan, 74.07% magenta, 0% yellow and 36.47% black.
#512aa2 color has a hue of 259.5 degrees, a saturation of 58.82% and a lightness of 40%.
#512aa2 hex color contains mainly BLUE.
The closest web safe color of #512aa2 is #663399
#512aa2 hex color has a decimal value of 5319330.
HEX | 512aa2 | #512aa2 |
---|---|---|
RGB | 81, 42, 162 | rgb(81, 42, 162) |
RGB Percent | 31.76, 16.47, 63.53 | rgb(31.76, 16.47, 63.53) |
CMYK | 50, 74, 0, 36 | |
HSL | 259.5°, 58.82, 40 | hsl(259.5, 58.82%, 40%) |
HSV | 259.5°, 74.1, 63.5 |
XYZ | 10.743, 6.014, 34.777 |
---|---|
Hunter Lab | 24.523, 35.28, -66.913 |
CIE-LAB | 29.448, 45.854, -58.354 |
CIE-LCH | 29.448, 74.214, 308.16 |
CIE-LUV | 50, 74.07, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #512aa2
CMYK percent of color #512aa2
Text with hexadecimal color #512aa2
This text has a font color of #512aa2
<p style="color:#512aa2">Text here</p>
#512aa2 Background Color
This box has a background color of #512aa2
<div style="background-color:#512aa2">Text here</div>
#512aa2 Border Color
This box has a border color of #512aa2
<div style="border: 4px solid #512aa2">Text here</div>
CSS codes
<p style="color:#512aa2">Text here</p>
<div style="background-color:#512aa2">Text here</div>
<div style="border: 4px solid #512aa2">Text here</div>
#512aa2 Color on white background
This is how a font and box color of #512aa2 will look
on a white background.
#512aa2 Color on black background
This is how a font and box color of #512aa2 hex color will look
on a black background.