In RGB color space, #512ea4 hex color has a red value of 81, a green value of 46 and a blue value of 164.
In CMYK color space (used in color printing), #512ea4 hex color is composed of 50.61% cyan, 71.95% magenta, 0% yellow and 35.69% black.
#512ea4 color has a hue of 257.8 degrees, a saturation of 56.19% and a lightness of 41.2%.
#512ea4 hex color contains mainly BLUE.
The closest web safe color of #512ea4 is #663399
#512ea4 hex color has a decimal value of 5320356.
HEX | 512ea4 | #512ea4 |
---|---|---|
RGB | 81, 46, 164 | rgb(81, 46, 164) |
RGB Percent | 31.76, 18.04, 64.31 | rgb(31.76, 18.04, 64.31) |
CMYK | 51, 72, 0, 36 | |
HSL | 257.8°, 56.19, 41.2 | hsl(257.8, 56.19%, 41.2%) |
HSV | 257.8°, 72, 64.3 |
XYZ | 11.071, 6.384, 35.771 |
---|---|
Hunter Lab | 25.267, 33.996, -66.253 |
CIE-LAB | 30.361, 44.352, -58.069 |
CIE-LCH | 30.361, 73.069, 307.372 |
CIE-LUV | 50.61, 71.95, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #512ea4
CMYK percent of color #512ea4
Text with hexadecimal color #512ea4
This text has a font color of #512ea4
<p style="color:#512ea4">Text here</p>
#512ea4 Background Color
This box has a background color of #512ea4
<div style="background-color:#512ea4">Text here</div>
#512ea4 Border Color
This box has a border color of #512ea4
<div style="border: 4px solid #512ea4">Text here</div>
CSS codes
<p style="color:#512ea4">Text here</p>
<div style="background-color:#512ea4">Text here</div>
<div style="border: 4px solid #512ea4">Text here</div>
#512ea4 Color on white background
This is how a font and box color of #512ea4 will look
on a white background.
#512ea4 Color on black background
This is how a font and box color of #512ea4 hex color will look
on a black background.