In RGB color space, #5a3d98 hex color has a red value of 90, a green value of 61 and a blue value of 152.
In CMYK color space (used in color printing), #5a3d98 hex color is composed of 40.79% cyan, 59.87% magenta, 0% yellow and 40.39% black.
#5a3d98 color has a hue of 259.1 degrees, a saturation of 42.72% and a lightness of 41.8%.
#5a3d98 hex color contains mainly BLUE.
The closest web safe color of #5a3d98 is #663399
#5a3d98 hex color has a decimal value of 5914008.
HEX | 5a3d98 | #5a3d98 |
---|---|---|
RGB | 90, 61, 152 | rgb(90, 61, 152) |
RGB Percent | 35.29, 23.92, 59.61 | rgb(35.29, 23.92, 59.61) |
CMYK | 41, 60, 0, 40 | |
HSL | 259.1°, 42.72, 41.8 | hsl(259.1, 42.72%, 41.8%) |
HSV | 259.1°, 59.9, 59.6 |
XYZ | 11.553, 7.778, 30.598 |
---|---|
Hunter Lab | 27.889, 25.137, -45.527 |
CIE-LAB | 33.516, 34.247, -45.628 |
CIE-LCH | 33.516, 57.051, 306.891 |
CIE-LUV | 40.79, 59.87, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5a3d98
CMYK percent of color #5a3d98
Text with hexadecimal color #5a3d98
This text has a font color of #5a3d98
<p style="color:#5a3d98">Text here</p>
#5a3d98 Background Color
This box has a background color of #5a3d98
<div style="background-color:#5a3d98">Text here</div>
#5a3d98 Border Color
This box has a border color of #5a3d98
<div style="border: 4px solid #5a3d98">Text here</div>
CSS codes
<p style="color:#5a3d98">Text here</p>
<div style="background-color:#5a3d98">Text here</div>
<div style="border: 4px solid #5a3d98">Text here</div>
#5a3d98 Color on white background
This is how a font and box color of #5a3d98 will look
on a white background.
#5a3d98 Color on black background
This is how a font and box color of #5a3d98 hex color will look
on a black background.