In RGB color space, #5a1f78 hex color has a red value of 90, a green value of 31 and a blue value of 120.
In CMYK color space (used in color printing), #5a1f78 hex color is composed of 25% cyan, 74.17% magenta, 0% yellow and 52.94% black.
#5a1f78 color has a hue of 279.8 degrees, a saturation of 58.94% and a lightness of 29.6%.
#5a1f78 hex color contains mainly BLUE.
The closest web safe color of #5a1f78 is #663366
#5a1f78 hex color has a decimal value of 5906296.
HEX | 5a1f78 | #5a1f78 |
---|---|---|
RGB | 90, 31, 120 | rgb(90, 31, 120) |
RGB Percent | 35.29, 12.16, 47.06 | rgb(35.29, 12.16, 47.06) |
CMYK | 25, 74, 0, 53 | |
HSL | 279.8°, 58.94, 29.6 | hsl(279.8, 58.94%, 29.6%) |
HSV | 279.8°, 74.2, 47.1 |
XYZ | 8.097, 4.51, 18.213 |
---|---|
Hunter Lab | 21.237, 30.893, -35.982 |
CIE-LAB | 25.291, 42.028, -39.007 |
CIE-LCH | 25.291, 57.34, 317.135 |
CIE-LUV | 25, 74.17, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #5a1f78
CMYK percent of color #5a1f78
Text with hexadecimal color #5a1f78
This text has a font color of #5a1f78
<p style="color:#5a1f78">Text here</p>
#5a1f78 Background Color
This box has a background color of #5a1f78
<div style="background-color:#5a1f78">Text here</div>
#5a1f78 Border Color
This box has a border color of #5a1f78
<div style="border: 4px solid #5a1f78">Text here</div>
CSS codes
<p style="color:#5a1f78">Text here</p>
<div style="background-color:#5a1f78">Text here</div>
<div style="border: 4px solid #5a1f78">Text here</div>
#5a1f78 Color on white background
This is how a font and box color of #5a1f78 will look
on a white background.
#5a1f78 Color on black background
This is how a font and box color of #5a1f78 hex color will look
on a black background.