In RGB color space, #512ca6 hex color has a red value of 81, a green value of 44 and a blue value of 166.
In CMYK color space (used in color printing), #512ca6 hex color is composed of 51.2% cyan, 73.49% magenta, 0% yellow and 34.9% black.
#512ca6 color has a hue of 258.2 degrees, a saturation of 58.1% and a lightness of 41.2%.
#512ca6 hex color contains mainly BLUE.
The closest web safe color of #512ca6 is #663399
#512ca6 hex color has a decimal value of 5319846.
HEX | 512ca6 | #512ca6 |
---|---|---|
RGB | 81, 44, 166 | rgb(81, 44, 166) |
RGB Percent | 31.76, 17.25, 65.1 | rgb(31.76, 17.25, 65.1) |
CMYK | 51, 73, 0, 35 | |
HSL | 258.2°, 58.1, 41.2 | hsl(258.2, 58.1%, 41.2%) |
HSV | 258.2°, 73.5, 65.1 |
XYZ | 11.177, 6.304, 36.704 |
---|---|
Hunter Lab | 25.108, 35.523, -69.098 |
CIE-LAB | 30.167, 45.967, -59.594 |
CIE-LCH | 30.167, 75.262, 307.644 |
CIE-LUV | 51.2, 73.49, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #512ca6
CMYK percent of color #512ca6
Text with hexadecimal color #512ca6
This text has a font color of #512ca6
<p style="color:#512ca6">Text here</p>
#512ca6 Background Color
This box has a background color of #512ca6
<div style="background-color:#512ca6">Text here</div>
#512ca6 Border Color
This box has a border color of #512ca6
<div style="border: 4px solid #512ca6">Text here</div>
CSS codes
<p style="color:#512ca6">Text here</p>
<div style="background-color:#512ca6">Text here</div>
<div style="border: 4px solid #512ca6">Text here</div>
#512ca6 Color on white background
This is how a font and box color of #512ca6 will look
on a white background.
#512ca6 Color on black background
This is how a font and box color of #512ca6 hex color will look
on a black background.