In RGB color space, #512caf hex color has a red value of 81, a green value of 44 and a blue value of 175.
In CMYK color space (used in color printing), #512caf hex color is composed of 53.71% cyan, 74.86% magenta, 0% yellow and 31.37% black.
#512caf color has a hue of 256.9 degrees, a saturation of 59.82% and a lightness of 42.9%.
#512caf hex color contains mainly BLUE.
The closest web safe color of #512caf is #663399
#512caf hex color has a decimal value of 5319855.
HEX | 512caf | #512caf |
---|---|---|
RGB | 81, 44, 175 | rgb(81, 44, 175) |
RGB Percent | 31.76, 17.25, 68.63 | rgb(31.76, 17.25, 68.63) |
CMYK | 54, 75, 0, 31 | |
HSL | 256.9°, 59.82, 42.9 | hsl(256.9, 59.82%, 42.9%) |
HSV | 256.9°, 74.9, 68.6 |
XYZ | 12.032, 6.646, 41.206 |
---|---|
Hunter Lab | 25.78, 38.195, -76.722 |
CIE-LAB | 30.987, 48.525, -63.653 |
CIE-LCH | 30.987, 80.04, 307.32 |
CIE-LUV | 53.71, 74.86, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #512caf
CMYK percent of color #512caf
Text with hexadecimal color #512caf
This text has a font color of #512caf
<p style="color:#512caf">Text here</p>
#512caf Background Color
This box has a background color of #512caf
<div style="background-color:#512caf">Text here</div>
#512caf Border Color
This box has a border color of #512caf
<div style="border: 4px solid #512caf">Text here</div>
CSS codes
<p style="color:#512caf">Text here</p>
<div style="background-color:#512caf">Text here</div>
<div style="border: 4px solid #512caf">Text here</div>
#512caf Color on white background
This is how a font and box color of #512caf will look
on a white background.
#512caf Color on black background
This is how a font and box color of #512caf hex color will look
on a black background.