In RGB color space, #5a38a4 hex color has a red value of 90, a green value of 56 and a blue value of 164.
In CMYK color space (used in color printing), #5a38a4 hex color is composed of 45.12% cyan, 65.85% magenta, 0% yellow and 35.69% black.
#5a38a4 color has a hue of 258.9 degrees, a saturation of 49.09% and a lightness of 43.1%.
#5a38a4 hex color contains mainly BLUE.
The closest web safe color of #5a38a4 is #663399
#5a38a4 hex color has a decimal value of 5912740.
HEX | 5a38a4 | #5a38a4 |
---|---|---|
RGB | 90, 56, 164 | rgb(90, 56, 164) |
RGB Percent | 35.29, 21.96, 64.31 | rgb(35.29, 21.96, 64.31) |
CMYK | 45, 66, 0, 36 | |
HSL | 258.9°, 49.09, 43.1 | hsl(258.9, 49.09%, 43.1%) |
HSV | 258.9°, 65.9, 64.3 |
XYZ | 12.331, 7.682, 35.955 |
---|---|
Hunter Lab | 27.716, 30.911, -57.512 |
CIE-LAB | 33.312, 40.568, -53.219 |
CIE-LCH | 33.312, 66.918, 307.318 |
CIE-LUV | 45.12, 65.85, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5a38a4
CMYK percent of color #5a38a4
Text with hexadecimal color #5a38a4
This text has a font color of #5a38a4
<p style="color:#5a38a4">Text here</p>
#5a38a4 Background Color
This box has a background color of #5a38a4
<div style="background-color:#5a38a4">Text here</div>
#5a38a4 Border Color
This box has a border color of #5a38a4
<div style="border: 4px solid #5a38a4">Text here</div>
CSS codes
<p style="color:#5a38a4">Text here</p>
<div style="background-color:#5a38a4">Text here</div>
<div style="border: 4px solid #5a38a4">Text here</div>
#5a38a4 Color on white background
This is how a font and box color of #5a38a4 will look
on a white background.
#5a38a4 Color on black background
This is how a font and box color of #5a38a4 hex color will look
on a black background.