In RGB color space, #512a95 hex color has a red value of 81, a green value of 42 and a blue value of 149.
In CMYK color space (used in color printing), #512a95 hex color is composed of 45.64% cyan, 71.81% magenta, 0% yellow and 41.57% black.
#512a95 color has a hue of 261.9 degrees, a saturation of 56.02% and a lightness of 37.5%.
#512a95 hex color contains mainly BLUE.
The closest web safe color of #512a95 is #663399
#512a95 hex color has a decimal value of 5319317.
HEX | 512a95 | #512a95 |
---|---|---|
RGB | 81, 42, 149 | rgb(81, 42, 149) |
RGB Percent | 31.76, 16.47, 58.43 | rgb(31.76, 16.47, 58.43) |
CMYK | 46, 72, 0, 42 | |
HSL | 261.9°, 56.02, 37.5 | hsl(261.9, 56.02%, 37.5%) |
HSV | 261.9°, 71.8, 58.4 |
XYZ | 9.646, 5.575, 29.001 |
---|---|
Hunter Lab | 23.611, 31.603, -56.296 |
CIE-LAB | 28.314, 42.216, -52.278 |
CIE-LCH | 28.314, 67.195, 308.922 |
CIE-LUV | 45.64, 71.81, 0, 41.57 |
Web Safe | 663399 |
RGB percent of color #512a95
CMYK percent of color #512a95
Text with hexadecimal color #512a95
This text has a font color of #512a95
<p style="color:#512a95">Text here</p>
#512a95 Background Color
This box has a background color of #512a95
<div style="background-color:#512a95">Text here</div>
#512a95 Border Color
This box has a border color of #512a95
<div style="border: 4px solid #512a95">Text here</div>
CSS codes
<p style="color:#512a95">Text here</p>
<div style="background-color:#512a95">Text here</div>
<div style="border: 4px solid #512a95">Text here</div>
#512a95 Color on white background
This is how a font and box color of #512a95 will look
on a white background.
#512a95 Color on black background
This is how a font and box color of #512a95 hex color will look
on a black background.