In RGB color space, #5a2fa8 hex color has a red value of 90, a green value of 47 and a blue value of 168.
In CMYK color space (used in color printing), #5a2fa8 hex color is composed of 46.43% cyan, 72.02% magenta, 0% yellow and 34.12% black.
#5a2fa8 color has a hue of 261.3 degrees, a saturation of 56.28% and a lightness of 42.2%.
#5a2fa8 hex color contains mainly BLUE.
The closest web safe color of #5a2fa8 is #663399
#5a2fa8 hex color has a decimal value of 5910440.
HEX | 5a2fa8 | #5a2fa8 |
---|---|---|
RGB | 90, 47, 168 | rgb(90, 47, 168) |
RGB Percent | 35.29, 18.43, 65.88 | rgb(35.29, 18.43, 65.88) |
CMYK | 46, 72, 0, 34 | |
HSL | 261.3°, 56.28, 42.2 | hsl(261.3, 56.28%, 42.2%) |
HSV | 261.3°, 72, 65.9 |
XYZ | 12.301, 7.034, 37.755 |
---|---|
Hunter Lab | 26.522, 36.377, -65.837 |
CIE-LAB | 31.884, 46.515, -57.949 |
CIE-LCH | 31.884, 74.308, 308.754 |
CIE-LUV | 46.43, 72.02, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #5a2fa8
CMYK percent of color #5a2fa8
Text with hexadecimal color #5a2fa8
This text has a font color of #5a2fa8
<p style="color:#5a2fa8">Text here</p>
#5a2fa8 Background Color
This box has a background color of #5a2fa8
<div style="background-color:#5a2fa8">Text here</div>
#5a2fa8 Border Color
This box has a border color of #5a2fa8
<div style="border: 4px solid #5a2fa8">Text here</div>
CSS codes
<p style="color:#5a2fa8">Text here</p>
<div style="background-color:#5a2fa8">Text here</div>
<div style="border: 4px solid #5a2fa8">Text here</div>
#5a2fa8 Color on white background
This is how a font and box color of #5a2fa8 will look
on a white background.
#5a2fa8 Color on black background
This is how a font and box color of #5a2fa8 hex color will look
on a black background.