In RGB color space, #5a2f9d hex color has a red value of 90, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #5a2f9d hex color is composed of 42.68% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#5a2f9d color has a hue of 263.5 degrees, a saturation of 53.92% and a lightness of 40%.
#5a2f9d hex color contains mainly BLUE.
The closest web safe color of #5a2f9d is #663399
#5a2f9d hex color has a decimal value of 5910429.
HEX | 5a2f9d | #5a2f9d |
---|---|---|
RGB | 90, 47, 157 | rgb(90, 47, 157) |
RGB Percent | 35.29, 18.43, 61.57 | rgb(35.29, 18.43, 61.57) |
CMYK | 43, 70, 0, 38 | |
HSL | 263.5°, 53.92, 40 | hsl(263.5, 53.92%, 40%) |
HSV | 263.5°, 70.1, 61.6 |
XYZ | 11.319, 6.641, 32.584 |
---|---|
Hunter Lab | 25.77, 33.305, -56.928 |
CIE-LAB | 30.975, 43.516, -52.784 |
CIE-LCH | 30.975, 68.409, 309.503 |
CIE-LUV | 42.68, 70.06, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #5a2f9d
CMYK percent of color #5a2f9d
Text with hexadecimal color #5a2f9d
This text has a font color of #5a2f9d
<p style="color:#5a2f9d">Text here</p>
#5a2f9d Background Color
This box has a background color of #5a2f9d
<div style="background-color:#5a2f9d">Text here</div>
#5a2f9d Border Color
This box has a border color of #5a2f9d
<div style="border: 4px solid #5a2f9d">Text here</div>
CSS codes
<p style="color:#5a2f9d">Text here</p>
<div style="background-color:#5a2f9d">Text here</div>
<div style="border: 4px solid #5a2f9d">Text here</div>
#5a2f9d Color on white background
This is how a font and box color of #5a2f9d will look
on a white background.
#5a2f9d Color on black background
This is how a font and box color of #5a2f9d hex color will look
on a black background.