In RGB color space, #5a0787 hex color has a red value of 90, a green value of 7 and a blue value of 135.
In CMYK color space (used in color printing), #5a0787 hex color is composed of 33.33% cyan, 94.81% magenta, 0% yellow and 47.06% black.
#5a0787 color has a hue of 278.9 degrees, a saturation of 90.14% and a lightness of 27.8%.
#5a0787 hex color contains mainly BLUE.
The closest web safe color of #5a0787 is #660099
#5a0787 hex color has a decimal value of 5900167.
HEX | 5a0787 | #5a0787 |
---|---|---|
RGB | 90, 7, 135 | rgb(90, 7, 135) |
RGB Percent | 35.29, 2.75, 52.94 | rgb(35.29, 2.75, 52.94) |
CMYK | 33, 95, 0, 47 | |
HSL | 278.9°, 90.14, 27.8 | hsl(278.9, 90.14%, 27.8%) |
HSV | 278.9°, 94.8, 52.9 |
XYZ | 8.666, 4.075, 23.251 |
---|---|
Hunter Lab | 20.187, 41.302, -54.16 |
CIE-LAB | 23.918, 52.982, -50.719 |
CIE-LCH | 23.918, 73.345, 316.25 |
CIE-LUV | 33.33, 94.81, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #5a0787
CMYK percent of color #5a0787
Text with hexadecimal color #5a0787
This text has a font color of #5a0787
<p style="color:#5a0787">Text here</p>
#5a0787 Background Color
This box has a background color of #5a0787
<div style="background-color:#5a0787">Text here</div>
#5a0787 Border Color
This box has a border color of #5a0787
<div style="border: 4px solid #5a0787">Text here</div>
CSS codes
<p style="color:#5a0787">Text here</p>
<div style="background-color:#5a0787">Text here</div>
<div style="border: 4px solid #5a0787">Text here</div>
#5a0787 Color on white background
This is how a font and box color of #5a0787 will look
on a white background.
#5a0787 Color on black background
This is how a font and box color of #5a0787 hex color will look
on a black background.