In RGB color space, #5a2a87 hex color has a red value of 90, a green value of 42 and a blue value of 135.
In CMYK color space (used in color printing), #5a2a87 hex color is composed of 33.33% cyan, 68.89% magenta, 0% yellow and 47.06% black.
#5a2a87 color has a hue of 271 degrees, a saturation of 52.54% and a lightness of 34.7%.
#5a2a87 hex color contains mainly BLUE.
The closest web safe color of #5a2a87 is #663399
#5a2a87 hex color has a decimal value of 5909127.
HEX | 5a2a87 | #5a2a87 |
---|---|---|
RGB | 90, 42, 135 | rgb(90, 42, 135) |
RGB Percent | 35.29, 16.47, 52.94 | rgb(35.29, 16.47, 52.94) |
CMYK | 33, 69, 0, 47 | |
HSL | 271°, 52.54, 34.7 | hsl(271, 52.54%, 34.7%) |
HSV | 271°, 68.9, 52.9 |
XYZ | 9.418, 5.579, 23.502 |
---|---|
Hunter Lab | 23.62, 29.839, -42.46 |
CIE-LAB | 28.324, 40.318, -43.55 |
CIE-LCH | 28.324, 59.348, 312.793 |
CIE-LUV | 33.33, 68.89, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #5a2a87
CMYK percent of color #5a2a87
Text with hexadecimal color #5a2a87
This text has a font color of #5a2a87
<p style="color:#5a2a87">Text here</p>
#5a2a87 Background Color
This box has a background color of #5a2a87
<div style="background-color:#5a2a87">Text here</div>
#5a2a87 Border Color
This box has a border color of #5a2a87
<div style="border: 4px solid #5a2a87">Text here</div>
CSS codes
<p style="color:#5a2a87">Text here</p>
<div style="background-color:#5a2a87">Text here</div>
<div style="border: 4px solid #5a2a87">Text here</div>
#5a2a87 Color on white background
This is how a font and box color of #5a2a87 will look
on a white background.
#5a2a87 Color on black background
This is how a font and box color of #5a2a87 hex color will look
on a black background.