In RGB color space, #512aa6 hex color has a red value of 81, a green value of 42 and a blue value of 166.
In CMYK color space (used in color printing), #512aa6 hex color is composed of 51.2% cyan, 74.7% magenta, 0% yellow and 34.9% black.
#512aa6 color has a hue of 258.9 degrees, a saturation of 59.62% and a lightness of 40.8%.
#512aa6 hex color contains mainly BLUE.
The closest web safe color of #512aa6 is #663399
#512aa6 hex color has a decimal value of 5319334.
HEX | 512aa6 | #512aa6 |
---|---|---|
RGB | 81, 42, 166 | rgb(81, 42, 166) |
RGB Percent | 31.76, 16.47, 65.1 | rgb(31.76, 16.47, 65.1) |
CMYK | 51, 75, 0, 35 | |
HSL | 258.9°, 59.62, 40.8 | hsl(258.9, 59.62%, 40.8%) |
HSV | 258.9°, 74.7, 65.1 |
XYZ | 11.104, 6.158, 36.68 |
---|---|
Hunter Lab | 24.815, 36.446, -70.267 |
CIE-LAB | 29.808, 46.981, -60.183 |
CIE-LCH | 29.808, 76.349, 307.977 |
CIE-LUV | 51.2, 74.7, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #512aa6
CMYK percent of color #512aa6
Text with hexadecimal color #512aa6
This text has a font color of #512aa6
<p style="color:#512aa6">Text here</p>
#512aa6 Background Color
This box has a background color of #512aa6
<div style="background-color:#512aa6">Text here</div>
#512aa6 Border Color
This box has a border color of #512aa6
<div style="border: 4px solid #512aa6">Text here</div>
CSS codes
<p style="color:#512aa6">Text here</p>
<div style="background-color:#512aa6">Text here</div>
<div style="border: 4px solid #512aa6">Text here</div>
#512aa6 Color on white background
This is how a font and box color of #512aa6 will look
on a white background.
#512aa6 Color on black background
This is how a font and box color of #512aa6 hex color will look
on a black background.