In RGB color space, #5a318c hex color has a red value of 90, a green value of 49 and a blue value of 140.
In CMYK color space (used in color printing), #5a318c hex color is composed of 35.71% cyan, 65% magenta, 0% yellow and 45.1% black.
#5a318c color has a hue of 267 degrees, a saturation of 48.15% and a lightness of 37.1%.
#5a318c hex color contains mainly BLUE.
The closest web safe color of #5a318c is #663399
#5a318c hex color has a decimal value of 5910924.
HEX | 5a318c | #5a318c |
---|---|---|
RGB | 90, 49, 140 | rgb(90, 49, 140) |
RGB Percent | 35.29, 19.22, 54.9 | rgb(35.29, 19.22, 54.9) |
CMYK | 36, 65, 0, 45 | |
HSL | 267°, 48.15, 37.1 | hsl(267, 48.15%, 37.1%) |
HSV | 267°, 65, 54.9 |
XYZ | 10.048, 6.264, 25.49 |
---|---|
Hunter Lab | 25.028, 27.864, -42.865 |
CIE-LAB | 30.069, 37.847, -43.834 |
CIE-LCH | 30.069, 57.912, 310.808 |
CIE-LUV | 35.71, 65, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5a318c
CMYK percent of color #5a318c
Text with hexadecimal color #5a318c
This text has a font color of #5a318c
<p style="color:#5a318c">Text here</p>
#5a318c Background Color
This box has a background color of #5a318c
<div style="background-color:#5a318c">Text here</div>
#5a318c Border Color
This box has a border color of #5a318c
<div style="border: 4px solid #5a318c">Text here</div>
CSS codes
<p style="color:#5a318c">Text here</p>
<div style="background-color:#5a318c">Text here</div>
<div style="border: 4px solid #5a318c">Text here</div>
#5a318c Color on white background
This is how a font and box color of #5a318c will look
on a white background.
#5a318c Color on black background
This is how a font and box color of #5a318c hex color will look
on a black background.