In RGB color space, #5a138b hex color has a red value of 90, a green value of 19 and a blue value of 139.
In CMYK color space (used in color printing), #5a138b hex color is composed of 35.25% cyan, 86.33% magenta, 0% yellow and 45.49% black.
#5a138b color has a hue of 275.5 degrees, a saturation of 75.95% and a lightness of 31%.
#5a138b hex color contains mainly BLUE.
The closest web safe color of #5a138b is #660099
#5a138b hex color has a decimal value of 5903243.
HEX | 5a138b | #5a138b |
---|---|---|
RGB | 90, 19, 139 | rgb(90, 19, 139) |
RGB Percent | 35.29, 7.45, 54.51 | rgb(35.29, 7.45, 54.51) |
CMYK | 35, 86, 0, 45 | |
HSL | 275.5°, 75.95, 31 | hsl(275.5, 75.95%, 31%) |
HSV | 275.5°, 86.3, 54.5 |
XYZ | 9.11, 4.503, 24.815 |
---|---|
Hunter Lab | 21.22, 39.496, -54.48 |
CIE-LAB | 25.269, 50.937, -51.012 |
CIE-LCH | 25.269, 72.089, 314.958 |
CIE-LUV | 35.25, 86.33, 0, 45.49 |
Web Safe | 660099 |
RGB percent of color #5a138b
CMYK percent of color #5a138b
Text with hexadecimal color #5a138b
This text has a font color of #5a138b
<p style="color:#5a138b">Text here</p>
#5a138b Background Color
This box has a background color of #5a138b
<div style="background-color:#5a138b">Text here</div>
#5a138b Border Color
This box has a border color of #5a138b
<div style="border: 4px solid #5a138b">Text here</div>
CSS codes
<p style="color:#5a138b">Text here</p>
<div style="background-color:#5a138b">Text here</div>
<div style="border: 4px solid #5a138b">Text here</div>
#5a138b Color on white background
This is how a font and box color of #5a138b will look
on a white background.
#5a138b Color on black background
This is how a font and box color of #5a138b hex color will look
on a black background.