In RGB color space, #5a1398 hex color has a red value of 90, a green value of 19 and a blue value of 152.
In CMYK color space (used in color printing), #5a1398 hex color is composed of 40.79% cyan, 87.5% magenta, 0% yellow and 40.39% black.
#5a1398 color has a hue of 272 degrees, a saturation of 77.78% and a lightness of 33.5%.
#5a1398 hex color contains mainly BLUE.
The closest web safe color of #5a1398 is #660099
#5a1398 hex color has a decimal value of 5903256.
HEX | 5a1398 | #5a1398 |
---|---|---|
RGB | 90, 19, 152 | rgb(90, 19, 152) |
RGB Percent | 35.29, 7.45, 59.61 | rgb(35.29, 7.45, 59.61) |
CMYK | 41, 88, 0, 40 | |
HSL | 272°, 77.78, 33.5 | hsl(272, 77.78%, 33.5%) |
HSV | 272°, 87.5, 59.6 |
XYZ | 10.117, 4.906, 30.12 |
---|---|
Hunter Lab | 22.149, 42.77, -65.121 |
CIE-LAB | 26.465, 53.92, -57.099 |
CIE-LCH | 26.465, 78.534, 313.36 |
CIE-LUV | 40.79, 87.5, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #5a1398
CMYK percent of color #5a1398
Text with hexadecimal color #5a1398
This text has a font color of #5a1398
<p style="color:#5a1398">Text here</p>
#5a1398 Background Color
This box has a background color of #5a1398
<div style="background-color:#5a1398">Text here</div>
#5a1398 Border Color
This box has a border color of #5a1398
<div style="border: 4px solid #5a1398">Text here</div>
CSS codes
<p style="color:#5a1398">Text here</p>
<div style="background-color:#5a1398">Text here</div>
<div style="border: 4px solid #5a1398">Text here</div>
#5a1398 Color on white background
This is how a font and box color of #5a1398 will look
on a white background.
#5a1398 Color on black background
This is how a font and box color of #5a1398 hex color will look
on a black background.