In RGB color space, #5122a6 hex color has a red value of 81, a green value of 34 and a blue value of 166.
In CMYK color space (used in color printing), #5122a6 hex color is composed of 51.2% cyan, 79.52% magenta, 0% yellow and 34.9% black.
#5122a6 color has a hue of 261.4 degrees, a saturation of 66% and a lightness of 39.2%.
#5122a6 hex color contains mainly BLUE.
The closest web safe color of #5122a6 is #663399
#5122a6 hex color has a decimal value of 5317286.
HEX | 5122a6 | #5122a6 |
---|---|---|
RGB | 81, 34, 166 | rgb(81, 34, 166) |
RGB Percent | 31.76, 13.33, 65.1 | rgb(31.76, 13.33, 65.1) |
CMYK | 51, 80, 0, 35 | |
HSL | 261.4°, 66, 39.2 | hsl(261.4, 66%, 39.2%) |
HSV | 261.4°, 79.5, 65.1 |
XYZ | 10.848, 5.647, 36.595 |
---|---|
Hunter Lab | 23.763, 39.899, -74.671 |
CIE-LAB | 28.504, 50.708, -62.323 |
CIE-LCH | 28.504, 80.346, 309.133 |
CIE-LUV | 51.2, 79.52, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5122a6
CMYK percent of color #5122a6
Text with hexadecimal color #5122a6
This text has a font color of #5122a6
<p style="color:#5122a6">Text here</p>
#5122a6 Background Color
This box has a background color of #5122a6
<div style="background-color:#5122a6">Text here</div>
#5122a6 Border Color
This box has a border color of #5122a6
<div style="border: 4px solid #5122a6">Text here</div>
CSS codes
<p style="color:#5122a6">Text here</p>
<div style="background-color:#5122a6">Text here</div>
<div style="border: 4px solid #5122a6">Text here</div>
#5122a6 Color on white background
This is how a font and box color of #5122a6 will look
on a white background.
#5122a6 Color on black background
This is how a font and box color of #5122a6 hex color will look
on a black background.