In RGB color space, #512ed1 hex color has a red value of 81, a green value of 46 and a blue value of 209.
In CMYK color space (used in color printing), #512ed1 hex color is composed of 61.24% cyan, 77.99% magenta, 0% yellow and 18.04% black.
#512ed1 color has a hue of 252.9 degrees, a saturation of 63.92% and a lightness of 50%.
#512ed1 hex color contains mainly BLUE.
The closest web safe color of #512ed1 is #6633cc
#512ed1 hex color has a decimal value of 5320401.
HEX | 512ed1 | #512ed1 |
---|---|---|
RGB | 81, 46, 209 | rgb(81, 46, 209) |
RGB Percent | 31.76, 18.04, 81.96 | rgb(31.76, 18.04, 81.96) |
CMYK | 61, 78, 0, 18 | |
HSL | 252.9°, 63.92, 50 | hsl(252.9, 63.92%, 50%) |
HSV | 252.9°, 78, 82 |
XYZ | 15.879, 8.307, 61.088 |
---|---|
Hunter Lab | 28.822, 47.904, -105.49 |
CIE-LAB | 34.614, 57.215, -77.688 |
CIE-LCH | 34.614, 96.483, 306.371 |
CIE-LUV | 61.24, 77.99, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #512ed1
CMYK percent of color #512ed1
Text with hexadecimal color #512ed1
This text has a font color of #512ed1
<p style="color:#512ed1">Text here</p>
#512ed1 Background Color
This box has a background color of #512ed1
<div style="background-color:#512ed1">Text here</div>
#512ed1 Border Color
This box has a border color of #512ed1
<div style="border: 4px solid #512ed1">Text here</div>
CSS codes
<p style="color:#512ed1">Text here</p>
<div style="background-color:#512ed1">Text here</div>
<div style="border: 4px solid #512ed1">Text here</div>
#512ed1 Color on white background
This is how a font and box color of #512ed1 will look
on a white background.
#512ed1 Color on black background
This is how a font and box color of #512ed1 hex color will look
on a black background.