In RGB color space, #5a138c hex color has a red value of 90, a green value of 19 and a blue value of 140.
In CMYK color space (used in color printing), #5a138c hex color is composed of 35.71% cyan, 86.43% magenta, 0% yellow and 45.1% black.
#5a138c color has a hue of 275.2 degrees, a saturation of 76.1% and a lightness of 31.2%.
#5a138c hex color contains mainly BLUE.
The closest web safe color of #5a138c is #660099
#5a138c hex color has a decimal value of 5903244.
HEX | 5a138c | #5a138c |
---|---|---|
RGB | 90, 19, 140 | rgb(90, 19, 140) |
RGB Percent | 35.29, 7.45, 54.9 | rgb(35.29, 7.45, 54.9) |
CMYK | 36, 86, 0, 45 | |
HSL | 275.2°, 76.1, 31.2 | hsl(275.2, 76.1%, 31.2%) |
HSV | 275.2°, 86.4, 54.9 |
XYZ | 9.183, 4.533, 25.202 |
---|---|
Hunter Lab | 21.291, 39.73, -55.278 |
CIE-LAB | 25.361, 51.153, -51.486 |
CIE-LCH | 25.361, 72.577, 314.814 |
CIE-LUV | 35.71, 86.43, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #5a138c
CMYK percent of color #5a138c
Text with hexadecimal color #5a138c
This text has a font color of #5a138c
<p style="color:#5a138c">Text here</p>
#5a138c Background Color
This box has a background color of #5a138c
<div style="background-color:#5a138c">Text here</div>
#5a138c Border Color
This box has a border color of #5a138c
<div style="border: 4px solid #5a138c">Text here</div>
CSS codes
<p style="color:#5a138c">Text here</p>
<div style="background-color:#5a138c">Text here</div>
<div style="border: 4px solid #5a138c">Text here</div>
#5a138c Color on white background
This is how a font and box color of #5a138c will look
on a white background.
#5a138c Color on black background
This is how a font and box color of #5a138c hex color will look
on a black background.