In RGB color space, #512ad1 hex color has a red value of 81, a green value of 42 and a blue value of 209.
In CMYK color space (used in color printing), #512ad1 hex color is composed of 61.24% cyan, 79.9% magenta, 0% yellow and 18.04% black.
#512ad1 color has a hue of 254 degrees, a saturation of 66.53% and a lightness of 49.2%.
#512ad1 hex color contains mainly BLUE.
The closest web safe color of #512ad1 is #6633cc
#512ad1 hex color has a decimal value of 5319377.
HEX | 512ad1 | #512ad1 |
---|---|---|
RGB | 81, 42, 209 | rgb(81, 42, 209) |
RGB Percent | 31.76, 16.47, 81.96 | rgb(31.76, 16.47, 81.96) |
CMYK | 61, 80, 0, 18 | |
HSL | 254°, 66.53, 49.2 | hsl(254, 66.53%, 49.2%) |
HSV | 254°, 79.9, 82 |
XYZ | 15.73, 8.009, 61.038 |
---|---|
Hunter Lab | 28.3, 49.69, -108.067 |
CIE-LAB | 34.002, 58.991, -78.699 |
CIE-LCH | 34.002, 98.354, 306.854 |
CIE-LUV | 61.24, 79.9, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #512ad1
CMYK percent of color #512ad1
Text with hexadecimal color #512ad1
This text has a font color of #512ad1
<p style="color:#512ad1">Text here</p>
#512ad1 Background Color
This box has a background color of #512ad1
<div style="background-color:#512ad1">Text here</div>
#512ad1 Border Color
This box has a border color of #512ad1
<div style="border: 4px solid #512ad1">Text here</div>
CSS codes
<p style="color:#512ad1">Text here</p>
<div style="background-color:#512ad1">Text here</div>
<div style="border: 4px solid #512ad1">Text here</div>
#512ad1 Color on white background
This is how a font and box color of #512ad1 will look
on a white background.
#512ad1 Color on black background
This is how a font and box color of #512ad1 hex color will look
on a black background.