In RGB color space, #512eb5 hex color has a red value of 81, a green value of 46 and a blue value of 181.
In CMYK color space (used in color printing), #512eb5 hex color is composed of 55.25% cyan, 74.59% magenta, 0% yellow and 29.02% black.
#512eb5 color has a hue of 255.6 degrees, a saturation of 59.47% and a lightness of 44.5%.
#512eb5 hex color contains mainly BLUE.
The closest web safe color of #512eb5 is #6633cc
#512eb5 hex color has a decimal value of 5320373.
HEX | 512eb5 | #512eb5 |
---|---|---|
RGB | 81, 46, 181 | rgb(81, 46, 181) |
RGB Percent | 31.76, 18.04, 70.98 | rgb(31.76, 18.04, 70.98) |
CMYK | 55, 75, 0, 29 | |
HSL | 255.6°, 59.47, 44.5 | hsl(255.6, 59.47%, 44.5%) |
HSV | 255.6°, 74.6, 71 |
XYZ | 12.711, 7.04, 44.405 |
---|---|
Hunter Lab | 26.533, 39.08, -80.653 |
CIE-LAB | 31.898, 49.236, -65.733 |
CIE-LCH | 31.898, 82.128, 306.834 |
CIE-LUV | 55.25, 74.59, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #512eb5
CMYK percent of color #512eb5
Text with hexadecimal color #512eb5
This text has a font color of #512eb5
<p style="color:#512eb5">Text here</p>
#512eb5 Background Color
This box has a background color of #512eb5
<div style="background-color:#512eb5">Text here</div>
#512eb5 Border Color
This box has a border color of #512eb5
<div style="border: 4px solid #512eb5">Text here</div>
CSS codes
<p style="color:#512eb5">Text here</p>
<div style="background-color:#512eb5">Text here</div>
<div style="border: 4px solid #512eb5">Text here</div>
#512eb5 Color on white background
This is how a font and box color of #512eb5 will look
on a white background.
#512eb5 Color on black background
This is how a font and box color of #512eb5 hex color will look
on a black background.