In RGB color space, #5a1f70 hex color has a red value of 90, a green value of 31 and a blue value of 112.
In CMYK color space (used in color printing), #5a1f70 hex color is composed of 19.64% cyan, 72.32% magenta, 0% yellow and 56.08% black.
#5a1f70 color has a hue of 283.7 degrees, a saturation of 56.64% and a lightness of 28%.
#5a1f70 hex color contains mainly BLUE.
The closest web safe color of #5a1f70 is #663366
#5a1f70 hex color has a decimal value of 5906288.
HEX | 5a1f70 | #5a1f70 |
---|---|---|
RGB | 90, 31, 112 | rgb(90, 31, 112) |
RGB Percent | 35.29, 12.16, 43.92 | rgb(35.29, 12.16, 43.92) |
CMYK | 20, 72, 0, 56 | |
HSL | 283.7°, 56.64, 28 | hsl(283.7, 56.64%, 28%) |
HSV | 283.7°, 72.3, 43.9 |
XYZ | 7.631, 4.323, 15.762 |
---|---|
Hunter Lab | 20.792, 29.127, -30.393 |
CIE-LAB | 24.712, 40.219, -34.821 |
CIE-LCH | 24.712, 53.198, 319.114 |
CIE-LUV | 19.64, 72.32, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #5a1f70
CMYK percent of color #5a1f70
Text with hexadecimal color #5a1f70
This text has a font color of #5a1f70
<p style="color:#5a1f70">Text here</p>
#5a1f70 Background Color
This box has a background color of #5a1f70
<div style="background-color:#5a1f70">Text here</div>
#5a1f70 Border Color
This box has a border color of #5a1f70
<div style="border: 4px solid #5a1f70">Text here</div>
CSS codes
<p style="color:#5a1f70">Text here</p>
<div style="background-color:#5a1f70">Text here</div>
<div style="border: 4px solid #5a1f70">Text here</div>
#5a1f70 Color on white background
This is how a font and box color of #5a1f70 will look
on a white background.
#5a1f70 Color on black background
This is how a font and box color of #5a1f70 hex color will look
on a black background.