In RGB color space, #5a1c80 hex color has a red value of 90, a green value of 28 and a blue value of 128.
In CMYK color space (used in color printing), #5a1c80 hex color is composed of 29.69% cyan, 78.13% magenta, 0% yellow and 49.8% black.
#5a1c80 color has a hue of 277.2 degrees, a saturation of 64.1% and a lightness of 30.6%.
#5a1c80 hex color contains mainly BLUE.
The closest web safe color of #5a1c80 is #663399
#5a1c80 hex color has a decimal value of 5905536.
HEX | 5a1c80 | #5a1c80 |
---|---|---|
RGB | 90, 28, 128 | rgb(90, 28, 128) |
RGB Percent | 35.29, 10.98, 50.2 | rgb(35.29, 10.98, 50.2) |
CMYK | 30, 78, 0, 50 | |
HSL | 277.2°, 64.1, 30.6 | hsl(277.2, 64.1%, 30.6%) |
HSV | 277.2°, 78.1, 50.2 |
XYZ | 8.528, 4.563, 20.853 |
---|---|
Hunter Lab | 21.361, 33.88, -42.927 |
CIE-LAB | 25.452, 45.17, -43.815 |
CIE-LCH | 25.452, 62.929, 315.872 |
CIE-LUV | 29.69, 78.13, 0, 49.8 |
Web Safe | 663399 |
RGB percent of color #5a1c80
CMYK percent of color #5a1c80
Text with hexadecimal color #5a1c80
This text has a font color of #5a1c80
<p style="color:#5a1c80">Text here</p>
#5a1c80 Background Color
This box has a background color of #5a1c80
<div style="background-color:#5a1c80">Text here</div>
#5a1c80 Border Color
This box has a border color of #5a1c80
<div style="border: 4px solid #5a1c80">Text here</div>
CSS codes
<p style="color:#5a1c80">Text here</p>
<div style="background-color:#5a1c80">Text here</div>
<div style="border: 4px solid #5a1c80">Text here</div>
#5a1c80 Color on white background
This is how a font and box color of #5a1c80 will look
on a white background.
#5a1c80 Color on black background
This is how a font and box color of #5a1c80 hex color will look
on a black background.