In RGB color space, #5a158f hex color has a red value of 90, a green value of 21 and a blue value of 143.
In CMYK color space (used in color printing), #5a158f hex color is composed of 37.06% cyan, 85.31% magenta, 0% yellow and 43.92% black.
#5a158f color has a hue of 273.9 degrees, a saturation of 74.39% and a lightness of 32.2%.
#5a158f hex color contains mainly BLUE.
The closest web safe color of #5a158f is #660099
#5a158f hex color has a decimal value of 5903759.
HEX | 5a158f | #5a158f |
---|---|---|
RGB | 90, 21, 143 | rgb(90, 21, 143) |
RGB Percent | 35.29, 8.24, 56.08 | rgb(35.29, 8.24, 56.08) |
CMYK | 37, 85, 0, 44 | |
HSL | 273.9°, 74.39, 32.2 | hsl(273.9, 74.39%, 32.2%) |
HSV | 273.9°, 85.3, 56.1 |
XYZ | 9.443, 4.693, 26.395 |
---|---|
Hunter Lab | 21.663, 39.897, -57.076 |
CIE-LAB | 25.842, 51.224, -52.564 |
CIE-LCH | 25.842, 73.395, 314.26 |
CIE-LUV | 37.06, 85.31, 0, 43.92 |
Web Safe | 660099 |
RGB percent of color #5a158f
CMYK percent of color #5a158f
Text with hexadecimal color #5a158f
This text has a font color of #5a158f
<p style="color:#5a158f">Text here</p>
#5a158f Background Color
This box has a background color of #5a158f
<div style="background-color:#5a158f">Text here</div>
#5a158f Border Color
This box has a border color of #5a158f
<div style="border: 4px solid #5a158f">Text here</div>
CSS codes
<p style="color:#5a158f">Text here</p>
<div style="background-color:#5a158f">Text here</div>
<div style="border: 4px solid #5a158f">Text here</div>
#5a158f Color on white background
This is how a font and box color of #5a158f will look
on a white background.
#5a158f Color on black background
This is how a font and box color of #5a158f hex color will look
on a black background.