In RGB color space, #5a0097 hex color has a red value of 90, a green value of 0 and a blue value of 151.
In CMYK color space (used in color printing), #5a0097 hex color is composed of 40.4% cyan, 100% magenta, 0% yellow and 40.78% black.
#5a0097 color has a hue of 275.8 degrees, a saturation of 100% and a lightness of 29.6%.
#5a0097 hex color contains mainly BLUE.
The closest web safe color of #5a0097 is #660099
#5a0097 hex color has a decimal value of 5898391.
HEX | 5a0097 | #5a0097 |
---|---|---|
RGB | 90, 0, 151 | rgb(90, 0, 151) |
RGB Percent | 35.29, 0, 59.22 | rgb(35.29, 0, 59.22) |
CMYK | 40, 100, 0, 41 | |
HSL | 275.8°, 100, 29.6 | hsl(275.8, 100%, 29.6%) |
HSV | 275.8°, 100, 59.2 |
XYZ | 9.802, 4.408, 29.612 |
---|---|
Hunter Lab | 20.995, 46.594, -68.927 |
CIE-LAB | 24.977, 57.85, -58.929 |
CIE-LCH | 24.977, 82.579, 314.471 |
CIE-LUV | 40.4, 100, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #5a0097
CMYK percent of color #5a0097
Text with hexadecimal color #5a0097
This text has a font color of #5a0097
<p style="color:#5a0097">Text here</p>
#5a0097 Background Color
This box has a background color of #5a0097
<div style="background-color:#5a0097">Text here</div>
#5a0097 Border Color
This box has a border color of #5a0097
<div style="border: 4px solid #5a0097">Text here</div>
CSS codes
<p style="color:#5a0097">Text here</p>
<div style="background-color:#5a0097">Text here</div>
<div style="border: 4px solid #5a0097">Text here</div>
#5a0097 Color on white background
This is how a font and box color of #5a0097 will look
on a white background.
#5a0097 Color on black background
This is how a font and box color of #5a0097 hex color will look
on a black background.