In RGB color space, #512ab3 hex color has a red value of 81, a green value of 42 and a blue value of 179.
In CMYK color space (used in color printing), #512ab3 hex color is composed of 54.75% cyan, 76.54% magenta, 0% yellow and 29.8% black.
#512ab3 color has a hue of 257.1 degrees, a saturation of 61.99% and a lightness of 43.3%.
#512ab3 hex color contains mainly BLUE.
The closest web safe color of #512ab3 is #6633cc
#512ab3 hex color has a decimal value of 5319347.
HEX | 512ab3 | #512ab3 |
---|---|---|
RGB | 81, 42, 179 | rgb(81, 42, 179) |
RGB Percent | 31.76, 16.47, 70.2 | rgb(31.76, 16.47, 70.2) |
CMYK | 55, 77, 0, 30 | |
HSL | 257.1°, 61.99, 43.3 | hsl(257.1, 61.99%, 43.3%) |
HSV | 257.1°, 76.5, 70.2 |
XYZ | 12.358, 6.66, 43.282 |
---|---|
Hunter Lab | 25.807, 40.315, -81.373 |
CIE-LAB | 31.02, 50.63, -65.986 |
CIE-LCH | 31.02, 83.172, 307.498 |
CIE-LUV | 54.75, 76.54, 0, 29.8 |
Web Safe | 6633cc |
RGB percent of color #512ab3
CMYK percent of color #512ab3
Text with hexadecimal color #512ab3
This text has a font color of #512ab3
<p style="color:#512ab3">Text here</p>
#512ab3 Background Color
This box has a background color of #512ab3
<div style="background-color:#512ab3">Text here</div>
#512ab3 Border Color
This box has a border color of #512ab3
<div style="border: 4px solid #512ab3">Text here</div>
CSS codes
<p style="color:#512ab3">Text here</p>
<div style="background-color:#512ab3">Text here</div>
<div style="border: 4px solid #512ab3">Text here</div>
#512ab3 Color on white background
This is how a font and box color of #512ab3 will look
on a white background.
#512ab3 Color on black background
This is how a font and box color of #512ab3 hex color will look
on a black background.