In RGB color space, #5a2789 hex color has a red value of 90, a green value of 39 and a blue value of 137.
In CMYK color space (used in color printing), #5a2789 hex color is composed of 34.31% cyan, 71.53% magenta, 0% yellow and 46.27% black.
#5a2789 color has a hue of 271.2 degrees, a saturation of 55.68% and a lightness of 34.5%.
#5a2789 hex color contains mainly BLUE.
The closest web safe color of #5a2789 is #663399
#5a2789 hex color has a decimal value of 5908361.
HEX | 5a2789 | #5a2789 |
---|---|---|
RGB | 90, 39, 137 | rgb(90, 39, 137) |
RGB Percent | 35.29, 15.29, 53.73 | rgb(35.29, 15.29, 53.73) |
CMYK | 34, 72, 0, 46 | |
HSL | 271.2°, 55.68, 34.5 | hsl(271.2, 55.68%, 34.5%) |
HSV | 271.2°, 71.5, 53.7 |
XYZ | 9.457, 5.431, 24.217 |
---|---|
Hunter Lab | 23.305, 31.653, -45.298 |
CIE-LAB | 27.929, 42.341, -45.436 |
CIE-LCH | 27.929, 62.106, 312.981 |
CIE-LUV | 34.31, 71.53, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #5a2789
CMYK percent of color #5a2789
Text with hexadecimal color #5a2789
This text has a font color of #5a2789
<p style="color:#5a2789">Text here</p>
#5a2789 Background Color
This box has a background color of #5a2789
<div style="background-color:#5a2789">Text here</div>
#5a2789 Border Color
This box has a border color of #5a2789
<div style="border: 4px solid #5a2789">Text here</div>
CSS codes
<p style="color:#5a2789">Text here</p>
<div style="background-color:#5a2789">Text here</div>
<div style="border: 4px solid #5a2789">Text here</div>
#5a2789 Color on white background
This is how a font and box color of #5a2789 will look
on a white background.
#5a2789 Color on black background
This is how a font and box color of #5a2789 hex color will look
on a black background.