In RGB color space, #5a2487 hex color has a red value of 90, a green value of 36 and a blue value of 135.
In CMYK color space (used in color printing), #5a2487 hex color is composed of 33.33% cyan, 73.33% magenta, 0% yellow and 47.06% black.
#5a2487 color has a hue of 272.7 degrees, a saturation of 57.89% and a lightness of 33.5%.
#5a2487 hex color contains mainly BLUE.
The closest web safe color of #5a2487 is #663399
#5a2487 hex color has a decimal value of 5907591.
HEX | 5a2487 | #5a2487 |
---|---|---|
RGB | 90, 36, 135 | rgb(90, 36, 135) |
RGB Percent | 35.29, 14.12, 52.94 | rgb(35.29, 14.12, 52.94) |
CMYK | 33, 73, 0, 47 | |
HSL | 272.7°, 57.89, 33.5 | hsl(272.7, 57.89%, 33.5%) |
HSV | 272.7°, 73.3, 52.9 |
XYZ | 9.22, 5.185, 23.436 |
---|---|
Hunter Lab | 22.771, 32.428, -45.083 |
CIE-LAB | 27.255, 43.293, -45.281 |
CIE-LCH | 27.255, 62.647, 313.714 |
CIE-LUV | 33.33, 73.33, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #5a2487
CMYK percent of color #5a2487
Text with hexadecimal color #5a2487
This text has a font color of #5a2487
<p style="color:#5a2487">Text here</p>
#5a2487 Background Color
This box has a background color of #5a2487
<div style="background-color:#5a2487">Text here</div>
#5a2487 Border Color
This box has a border color of #5a2487
<div style="border: 4px solid #5a2487">Text here</div>
CSS codes
<p style="color:#5a2487">Text here</p>
<div style="background-color:#5a2487">Text here</div>
<div style="border: 4px solid #5a2487">Text here</div>
#5a2487 Color on white background
This is how a font and box color of #5a2487 will look
on a white background.
#5a2487 Color on black background
This is how a font and box color of #5a2487 hex color will look
on a black background.