In RGB color space, #5108a6 hex color has a red value of 81, a green value of 8 and a blue value of 166.
In CMYK color space (used in color printing), #5108a6 hex color is composed of 51.2% cyan, 95.18% magenta, 0% yellow and 34.9% black.
#5108a6 color has a hue of 267.7 degrees, a saturation of 90.8% and a lightness of 34.1%.
#5108a6 hex color contains mainly BLUE.
The closest web safe color of #5108a6 is #660099
#5108a6 hex color has a decimal value of 5310630.
HEX | 5108a6 | #5108a6 |
---|---|---|
RGB | 81, 8, 166 | rgb(81, 8, 166) |
RGB Percent | 31.76, 3.14, 65.1 | rgb(31.76, 3.14, 65.1) |
CMYK | 51, 95, 0, 35 | |
HSL | 267.7°, 90.8, 34.1 | hsl(267.7, 90.8%, 34.1%) |
HSV | 267.7°, 95.2, 65.1 |
XYZ | 10.363, 4.676, 36.433 |
---|---|
Hunter Lab | 21.624, 47.701, -84.757 |
CIE-LAB | 25.791, 58.731, -66.795 |
CIE-LCH | 25.791, 88.943, 311.324 |
CIE-LUV | 51.2, 95.18, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #5108a6
CMYK percent of color #5108a6
Text with hexadecimal color #5108a6
This text has a font color of #5108a6
<p style="color:#5108a6">Text here</p>
#5108a6 Background Color
This box has a background color of #5108a6
<div style="background-color:#5108a6">Text here</div>
#5108a6 Border Color
This box has a border color of #5108a6
<div style="border: 4px solid #5108a6">Text here</div>
CSS codes
<p style="color:#5108a6">Text here</p>
<div style="background-color:#5108a6">Text here</div>
<div style="border: 4px solid #5108a6">Text here</div>
#5108a6 Color on white background
This is how a font and box color of #5108a6 will look
on a white background.
#5108a6 Color on black background
This is how a font and box color of #5108a6 hex color will look
on a black background.