In RGB color space, #512cb1 hex color has a red value of 81, a green value of 44 and a blue value of 177.
In CMYK color space (used in color printing), #512cb1 hex color is composed of 54.24% cyan, 75.14% magenta, 0% yellow and 30.59% black.
#512cb1 color has a hue of 256.7 degrees, a saturation of 60.18% and a lightness of 43.3%.
#512cb1 hex color contains mainly BLUE.
The closest web safe color of #512cb1 is #663399
#512cb1 hex color has a decimal value of 5319857.
HEX | 512cb1 | #512cb1 |
---|---|---|
RGB | 81, 44, 177 | rgb(81, 44, 177) |
RGB Percent | 31.76, 17.25, 69.41 | rgb(31.76, 17.25, 69.41) |
CMYK | 54, 75, 0, 31 | |
HSL | 256.7°, 60.18, 43.3 | hsl(256.7, 60.18%, 43.3%) |
HSV | 256.7°, 75.1, 69.4 |
XYZ | 12.23, 6.725, 42.248 |
---|---|
Hunter Lab | 25.933, 38.8, -78.439 |
CIE-LAB | 31.172, 49.096, -64.542 |
CIE-LCH | 31.172, 81.093, 307.26 |
CIE-LUV | 54.24, 75.14, 0, 30.59 |
Web Safe | 663399 |
RGB percent of color #512cb1
CMYK percent of color #512cb1
Text with hexadecimal color #512cb1
This text has a font color of #512cb1
<p style="color:#512cb1">Text here</p>
#512cb1 Background Color
This box has a background color of #512cb1
<div style="background-color:#512cb1">Text here</div>
#512cb1 Border Color
This box has a border color of #512cb1
<div style="border: 4px solid #512cb1">Text here</div>
CSS codes
<p style="color:#512cb1">Text here</p>
<div style="background-color:#512cb1">Text here</div>
<div style="border: 4px solid #512cb1">Text here</div>
#512cb1 Color on white background
This is how a font and box color of #512cb1 will look
on a white background.
#512cb1 Color on black background
This is how a font and box color of #512cb1 hex color will look
on a black background.