In RGB color space, #512ab2 hex color has a red value of 81, a green value of 42 and a blue value of 178.
In CMYK color space (used in color printing), #512ab2 hex color is composed of 54.49% cyan, 76.4% magenta, 0% yellow and 30.2% black.
#512ab2 color has a hue of 257.2 degrees, a saturation of 61.82% and a lightness of 43.1%.
#512ab2 hex color contains mainly BLUE.
The closest web safe color of #512ab2 is #663399
#512ab2 hex color has a decimal value of 5319346.
HEX | 512ab2 | #512ab2 |
---|---|---|
RGB | 81, 42, 178 | rgb(81, 42, 178) |
RGB Percent | 31.76, 16.47, 69.8 | rgb(31.76, 16.47, 69.8) |
CMYK | 54, 76, 0, 30 | |
HSL | 257.2°, 61.82, 43.1 | hsl(257.2, 61.82%, 43.1%) |
HSV | 257.2°, 76.4, 69.8 |
XYZ | 12.257, 6.62, 42.751 |
---|---|
Hunter Lab | 25.729, 40.008, -80.504 |
CIE-LAB | 30.926, 50.345, -65.545 |
CIE-LCH | 30.926, 82.648, 307.528 |
CIE-LUV | 54.49, 76.4, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #512ab2
CMYK percent of color #512ab2
Text with hexadecimal color #512ab2
This text has a font color of #512ab2
<p style="color:#512ab2">Text here</p>
#512ab2 Background Color
This box has a background color of #512ab2
<div style="background-color:#512ab2">Text here</div>
#512ab2 Border Color
This box has a border color of #512ab2
<div style="border: 4px solid #512ab2">Text here</div>
CSS codes
<p style="color:#512ab2">Text here</p>
<div style="background-color:#512ab2">Text here</div>
<div style="border: 4px solid #512ab2">Text here</div>
#512ab2 Color on white background
This is how a font and box color of #512ab2 will look
on a white background.
#512ab2 Color on black background
This is how a font and box color of #512ab2 hex color will look
on a black background.