In RGB color space, #5a315b hex color has a red value of 90, a green value of 49 and a blue value of 91.
In CMYK color space (used in color printing), #5a315b hex color is composed of 1.1% cyan, 46.15% magenta, 0% yellow and 64.31% black.
#5a315b color has a hue of 298.6 degrees, a saturation of 30% and a lightness of 27.5%.
#5a315b hex color contains mainly BLUE.
The closest web safe color of #5a315b is #663366
#5a315b hex color has a decimal value of 5910875.
HEX | 5a315b | #5a315b |
---|---|---|
RGB | 90, 49, 91 | rgb(90, 49, 91) |
RGB Percent | 35.29, 19.22, 35.69 | rgb(35.29, 19.22, 35.69) |
CMYK | 1, 46, 0, 64 | |
HSL | 298.6°, 30, 27.5 | hsl(298.6, 30%, 27.5%) |
HSV | 298.6°, 46.2, 35.7 |
XYZ | 7.203, 5.126, 10.507 |
---|---|
Hunter Lab | 22.641, 17.168, -11.667 |
CIE-LAB | 27.091, 25.854, -17.441 |
CIE-LCH | 27.091, 31.187, 325.997 |
CIE-LUV | 1.1, 46.15, 0, 64.31 |
Web Safe | 663366 |
RGB percent of color #5a315b
CMYK percent of color #5a315b
Text with hexadecimal color #5a315b
This text has a font color of #5a315b
<p style="color:#5a315b">Text here</p>
#5a315b Background Color
This box has a background color of #5a315b
<div style="background-color:#5a315b">Text here</div>
#5a315b Border Color
This box has a border color of #5a315b
<div style="border: 4px solid #5a315b">Text here</div>
CSS codes
<p style="color:#5a315b">Text here</p>
<div style="background-color:#5a315b">Text here</div>
<div style="border: 4px solid #5a315b">Text here</div>
#5a315b Color on white background
This is how a font and box color of #5a315b will look
on a white background.
#5a315b Color on black background
This is how a font and box color of #5a315b hex color will look
on a black background.