In RGB color space, #5a338b hex color has a red value of 90, a green value of 51 and a blue value of 139.
In CMYK color space (used in color printing), #5a338b hex color is composed of 35.25% cyan, 63.31% magenta, 0% yellow and 45.49% black.
#5a338b color has a hue of 266.6 degrees, a saturation of 46.32% and a lightness of 37.3%.
#5a338b hex color contains mainly BLUE.
The closest web safe color of #5a338b is #663399
#5a338b hex color has a decimal value of 5911435.
HEX | 5a338b | #5a338b |
---|---|---|
RGB | 90, 51, 139 | rgb(90, 51, 139) |
RGB Percent | 35.29, 20, 54.51 | rgb(35.29, 20, 54.51) |
CMYK | 35, 63, 0, 45 | |
HSL | 266.6°, 46.32, 37.3 | hsl(266.6, 46.32%, 37.3%) |
HSV | 266.6°, 63.3, 54.5 |
XYZ | 10.06, 6.405, 25.132 |
---|---|
Hunter Lab | 25.308, 26.665, -41.162 |
CIE-LAB | 30.412, 36.462, -42.663 |
CIE-LCH | 30.412, 56.121, 310.519 |
CIE-LUV | 35.25, 63.31, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a338b
CMYK percent of color #5a338b
Text with hexadecimal color #5a338b
This text has a font color of #5a338b
<p style="color:#5a338b">Text here</p>
#5a338b Background Color
This box has a background color of #5a338b
<div style="background-color:#5a338b">Text here</div>
#5a338b Border Color
This box has a border color of #5a338b
<div style="border: 4px solid #5a338b">Text here</div>
CSS codes
<p style="color:#5a338b">Text here</p>
<div style="background-color:#5a338b">Text here</div>
<div style="border: 4px solid #5a338b">Text here</div>
#5a338b Color on white background
This is how a font and box color of #5a338b will look
on a white background.
#5a338b Color on black background
This is how a font and box color of #5a338b hex color will look
on a black background.