In RGB color space, #5a2f5f hex color has a red value of 90, a green value of 47 and a blue value of 95.
In CMYK color space (used in color printing), #5a2f5f hex color is composed of 5.26% cyan, 50.53% magenta, 0% yellow and 62.75% black.
#5a2f5f color has a hue of 293.8 degrees, a saturation of 33.8% and a lightness of 27.8%.
#5a2f5f hex color contains mainly BLUE.
The closest web safe color of #5a2f5f is #663366
#5a2f5f hex color has a decimal value of 5910367.
HEX | 5a2f5f | #5a2f5f |
---|---|---|
RGB | 90, 47, 95 | rgb(90, 47, 95) |
RGB Percent | 35.29, 18.43, 37.25 | rgb(35.29, 18.43, 37.25) |
CMYK | 5, 51, 0, 63 | |
HSL | 293.8°, 33.8, 27.8 | hsl(293.8, 33.8%, 27.8%) |
HSV | 293.8°, 50.5, 37.3 |
XYZ | 7.299, 5.033, 11.413 |
---|---|
Hunter Lab | 22.434, 18.815, -14.458 |
CIE-LAB | 26.829, 27.92, -20.457 |
CIE-LCH | 26.829, 34.612, 323.77 |
CIE-LUV | 5.26, 50.53, 0, 62.75 |
Web Safe | 663366 |
RGB percent of color #5a2f5f
CMYK percent of color #5a2f5f
Text with hexadecimal color #5a2f5f
This text has a font color of #5a2f5f
<p style="color:#5a2f5f">Text here</p>
#5a2f5f Background Color
This box has a background color of #5a2f5f
<div style="background-color:#5a2f5f">Text here</div>
#5a2f5f Border Color
This box has a border color of #5a2f5f
<div style="border: 4px solid #5a2f5f">Text here</div>
CSS codes
<p style="color:#5a2f5f">Text here</p>
<div style="background-color:#5a2f5f">Text here</div>
<div style="border: 4px solid #5a2f5f">Text here</div>
#5a2f5f Color on white background
This is how a font and box color of #5a2f5f will look
on a white background.
#5a2f5f Color on black background
This is how a font and box color of #5a2f5f hex color will look
on a black background.