In RGB color space, #5108a3 hex color has a red value of 81, a green value of 8 and a blue value of 163.
In CMYK color space (used in color printing), #5108a3 hex color is composed of 50.31% cyan, 95.09% magenta, 0% yellow and 36.08% black.
#5108a3 color has a hue of 268.3 degrees, a saturation of 90.64% and a lightness of 33.5%.
#5108a3 hex color contains mainly BLUE.
The closest web safe color of #5108a3 is #660099
#5108a3 hex color has a decimal value of 5310627.
HEX | 5108a3 | #5108a3 |
---|---|---|
RGB | 81, 8, 163 | rgb(81, 8, 163) |
RGB Percent | 31.76, 3.14, 63.92 | rgb(31.76, 3.14, 63.92) |
CMYK | 50, 95, 0, 36 | |
HSL | 268.3°, 90.64, 33.5 | hsl(268.3, 90.64%, 33.5%) |
HSV | 268.3°, 95.1, 63.9 |
XYZ | 10.091, 4.567, 35 |
---|---|
Hunter Lab | 21.371, 46.888, -82.144 |
CIE-LAB | 25.464, 58.034, -65.515 |
CIE-LCH | 25.464, 87.522, 311.535 |
CIE-LUV | 50.31, 95.09, 0, 36.08 |
Web Safe | 660099 |
RGB percent of color #5108a3
CMYK percent of color #5108a3
Text with hexadecimal color #5108a3
This text has a font color of #5108a3
<p style="color:#5108a3">Text here</p>
#5108a3 Background Color
This box has a background color of #5108a3
<div style="background-color:#5108a3">Text here</div>
#5108a3 Border Color
This box has a border color of #5108a3
<div style="border: 4px solid #5108a3">Text here</div>
CSS codes
<p style="color:#5108a3">Text here</p>
<div style="background-color:#5108a3">Text here</div>
<div style="border: 4px solid #5108a3">Text here</div>
#5108a3 Color on white background
This is how a font and box color of #5108a3 will look
on a white background.
#5108a3 Color on black background
This is how a font and box color of #5108a3 hex color will look
on a black background.