In RGB color space, #5a3398 hex color has a red value of 90, a green value of 51 and a blue value of 152.
In CMYK color space (used in color printing), #5a3398 hex color is composed of 40.79% cyan, 66.45% magenta, 0% yellow and 40.39% black.
#5a3398 color has a hue of 263.2 degrees, a saturation of 49.75% and a lightness of 39.8%.
#5a3398 hex color contains mainly BLUE.
The closest web safe color of #5a3398 is #663399
#5a3398 hex color has a decimal value of 5911448.
HEX | 5a3398 | #5a3398 |
---|---|---|
RGB | 90, 51, 152 | rgb(90, 51, 152) |
RGB Percent | 35.29, 20, 59.61 | rgb(35.29, 20, 59.61) |
CMYK | 41, 66, 0, 40 | |
HSL | 263.2°, 49.75, 39.8 | hsl(263.2, 49.75%, 39.8%) |
HSV | 263.2°, 66.4, 59.6 |
XYZ | 11.068, 6.808, 30.437 |
---|---|
Hunter Lab | 26.092, 30.056, -50.898 |
CIE-LAB | 31.366, 40, -49.106 |
CIE-LCH | 31.366, 63.336, 309.165 |
CIE-LUV | 40.79, 66.45, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5a3398
CMYK percent of color #5a3398
Text with hexadecimal color #5a3398
This text has a font color of #5a3398
<p style="color:#5a3398">Text here</p>
#5a3398 Background Color
This box has a background color of #5a3398
<div style="background-color:#5a3398">Text here</div>
#5a3398 Border Color
This box has a border color of #5a3398
<div style="border: 4px solid #5a3398">Text here</div>
CSS codes
<p style="color:#5a3398">Text here</p>
<div style="background-color:#5a3398">Text here</div>
<div style="border: 4px solid #5a3398">Text here</div>
#5a3398 Color on white background
This is how a font and box color of #5a3398 will look
on a white background.
#5a3398 Color on black background
This is how a font and box color of #5a3398 hex color will look
on a black background.