In RGB color space, #5a2f70 hex color has a red value of 90, a green value of 47 and a blue value of 112.
In CMYK color space (used in color printing), #5a2f70 hex color is composed of 19.64% cyan, 58.04% magenta, 0% yellow and 56.08% black.
#5a2f70 color has a hue of 279.7 degrees, a saturation of 40.88% and a lightness of 31.2%.
#5a2f70 hex color contains mainly BLUE.
The closest web safe color of #5a2f70 is #663366
#5a2f70 hex color has a decimal value of 5910384.
HEX | 5a2f70 | #5a2f70 |
---|---|---|
RGB | 90, 47, 112 | rgb(90, 47, 112) |
RGB Percent | 35.29, 18.43, 43.92 | rgb(35.29, 18.43, 43.92) |
CMYK | 20, 58, 0, 56 | |
HSL | 279.7°, 40.88, 31.2 | hsl(279.7, 40.88%, 31.2%) |
HSV | 279.7°, 58, 43.9 |
XYZ | 8.158, 5.377, 15.937 |
---|---|
Hunter Lab | 23.188, 22.219, -24.517 |
CIE-LAB | 27.783, 31.836, -29.913 |
CIE-LCH | 27.783, 43.684, 316.784 |
CIE-LUV | 19.64, 58.04, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #5a2f70
CMYK percent of color #5a2f70
Text with hexadecimal color #5a2f70
This text has a font color of #5a2f70
<p style="color:#5a2f70">Text here</p>
#5a2f70 Background Color
This box has a background color of #5a2f70
<div style="background-color:#5a2f70">Text here</div>
#5a2f70 Border Color
This box has a border color of #5a2f70
<div style="border: 4px solid #5a2f70">Text here</div>
CSS codes
<p style="color:#5a2f70">Text here</p>
<div style="background-color:#5a2f70">Text here</div>
<div style="border: 4px solid #5a2f70">Text here</div>
#5a2f70 Color on white background
This is how a font and box color of #5a2f70 will look
on a white background.
#5a2f70 Color on black background
This is how a font and box color of #5a2f70 hex color will look
on a black background.