In RGB color space, #5a315a hex color has a red value of 90, a green value of 49 and a blue value of 90.
In CMYK color space (used in color printing), #5a315a hex color is composed of 0% cyan, 45.56% magenta, 0% yellow and 64.71% black.
#5a315a color has a hue of 300 degrees, a saturation of 29.5% and a lightness of 27.3%.
#5a315a hex color contains mainly RED.
The closest web safe color of #5a315a is #663366
#5a315a hex color has a decimal value of 5910874.
HEX | 5a315a | #5a315a |
---|---|---|
RGB | 90, 49, 90 | rgb(90, 49, 90) |
RGB Percent | 35.29, 19.22, 35.29 | rgb(35.29, 19.22, 35.29) |
CMYK | 0, 46, 0, 65 | |
HSL | 300°, 29.5, 27.3 | hsl(300, 29.5%, 27.3%) |
HSV | 300°, 45.6, 35.3 |
XYZ | 7.16, 5.108, 10.282 |
---|---|
Hunter Lab | 22.601, 16.998, -11.153 |
CIE-LAB | 27.04, 25.65, -16.868 |
CIE-LCH | 27.04, 30.699, 326.67 |
CIE-LUV | 0, 45.56, 0, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a315a
CMYK percent of color #5a315a
Text with hexadecimal color #5a315a
This text has a font color of #5a315a
<p style="color:#5a315a">Text here</p>
#5a315a Background Color
This box has a background color of #5a315a
<div style="background-color:#5a315a">Text here</div>
#5a315a Border Color
This box has a border color of #5a315a
<div style="border: 4px solid #5a315a">Text here</div>
CSS codes
<p style="color:#5a315a">Text here</p>
<div style="background-color:#5a315a">Text here</div>
<div style="border: 4px solid #5a315a">Text here</div>
#5a315a Color on white background
This is how a font and box color of #5a315a will look
on a white background.
#5a315a Color on black background
This is how a font and box color of #5a315a hex color will look
on a black background.