In RGB color space, #512ba5 hex color has a red value of 81, a green value of 43 and a blue value of 165.
In CMYK color space (used in color printing), #512ba5 hex color is composed of 50.91% cyan, 73.94% magenta, 0% yellow and 35.29% black.
#512ba5 color has a hue of 258.7 degrees, a saturation of 58.65% and a lightness of 40.8%.
#512ba5 hex color contains mainly BLUE.
The closest web safe color of #512ba5 is #663399
#512ba5 hex color has a decimal value of 5319589.
HEX | 512ba5 | #512ba5 |
---|---|---|
RGB | 81, 43, 165 | rgb(81, 43, 165) |
RGB Percent | 31.76, 16.86, 64.71 | rgb(31.76, 16.86, 64.71) |
CMYK | 51, 74, 0, 35 | |
HSL | 258.7°, 58.65, 40.8 | hsl(258.7, 58.65%, 40.8%) |
HSV | 258.7°, 73.9, 64.7 |
XYZ | 11.049, 6.194, 36.21 |
---|---|
Hunter Lab | 24.888, 35.692, -68.842 |
CIE-LAB | 29.897, 46.193, -59.432 |
CIE-LCH | 29.897, 75.273, 307.856 |
CIE-LUV | 50.91, 73.94, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #512ba5
CMYK percent of color #512ba5
Text with hexadecimal color #512ba5
This text has a font color of #512ba5
<p style="color:#512ba5">Text here</p>
#512ba5 Background Color
This box has a background color of #512ba5
<div style="background-color:#512ba5">Text here</div>
#512ba5 Border Color
This box has a border color of #512ba5
<div style="border: 4px solid #512ba5">Text here</div>
CSS codes
<p style="color:#512ba5">Text here</p>
<div style="background-color:#512ba5">Text here</div>
<div style="border: 4px solid #512ba5">Text here</div>
#512ba5 Color on white background
This is how a font and box color of #512ba5 will look
on a white background.
#512ba5 Color on black background
This is how a font and box color of #512ba5 hex color will look
on a black background.