In RGB color space, #5a2f9e hex color has a red value of 90, a green value of 47 and a blue value of 158.
In CMYK color space (used in color printing), #5a2f9e hex color is composed of 43.04% cyan, 70.25% magenta, 0% yellow and 38.04% black.
#5a2f9e color has a hue of 263.2 degrees, a saturation of 54.15% and a lightness of 40.2%.
#5a2f9e hex color contains mainly BLUE.
The closest web safe color of #5a2f9e is #663399
#5a2f9e hex color has a decimal value of 5910430.
HEX | 5a2f9e | #5a2f9e |
---|---|---|
RGB | 90, 47, 158 | rgb(90, 47, 158) |
RGB Percent | 35.29, 18.43, 61.96 | rgb(35.29, 18.43, 61.96) |
CMYK | 43, 70, 0, 38 | |
HSL | 263.2°, 54.15, 40.2 | hsl(263.2, 54.15%, 40.2%) |
HSV | 263.2°, 70.3, 62 |
XYZ | 11.405, 6.675, 33.035 |
---|---|
Hunter Lab | 25.836, 33.584, -57.725 |
CIE-LAB | 31.055, 43.792, -53.261 |
CIE-LCH | 31.055, 68.953, 309.428 |
CIE-LUV | 43.04, 70.25, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #5a2f9e
CMYK percent of color #5a2f9e
Text with hexadecimal color #5a2f9e
This text has a font color of #5a2f9e
<p style="color:#5a2f9e">Text here</p>
#5a2f9e Background Color
This box has a background color of #5a2f9e
<div style="background-color:#5a2f9e">Text here</div>
#5a2f9e Border Color
This box has a border color of #5a2f9e
<div style="border: 4px solid #5a2f9e">Text here</div>
CSS codes
<p style="color:#5a2f9e">Text here</p>
<div style="background-color:#5a2f9e">Text here</div>
<div style="border: 4px solid #5a2f9e">Text here</div>
#5a2f9e Color on white background
This is how a font and box color of #5a2f9e will look
on a white background.
#5a2f9e Color on black background
This is how a font and box color of #5a2f9e hex color will look
on a black background.