In RGB color space, #5a0297 hex color has a red value of 90, a green value of 2 and a blue value of 151.
In CMYK color space (used in color printing), #5a0297 hex color is composed of 40.4% cyan, 98.68% magenta, 0% yellow and 40.78% black.
#5a0297 color has a hue of 275.4 degrees, a saturation of 97.39% and a lightness of 30%.
#5a0297 hex color contains mainly BLUE.
The closest web safe color of #5a0297 is #660099
#5a0297 hex color has a decimal value of 5898903.
HEX | 5a0297 | #5a0297 |
---|---|---|
RGB | 90, 2, 151 | rgb(90, 2, 151) |
RGB Percent | 35.29, 0.78, 59.22 | rgb(35.29, 0.78, 59.22) |
CMYK | 40, 99, 0, 41 | |
HSL | 275.4°, 97.39, 30 | hsl(275.4, 97.39%, 30%) |
HSV | 275.4°, 98.7, 59.2 |
XYZ | 9.824, 4.451, 29.62 |
---|---|
Hunter Lab | 21.097, 46.198, -68.473 |
CIE-LAB | 25.11, 57.453, -58.711 |
CIE-LCH | 25.11, 82.145, 314.38 |
CIE-LUV | 40.4, 98.68, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #5a0297
CMYK percent of color #5a0297
Text with hexadecimal color #5a0297
This text has a font color of #5a0297
<p style="color:#5a0297">Text here</p>
#5a0297 Background Color
This box has a background color of #5a0297
<div style="background-color:#5a0297">Text here</div>
#5a0297 Border Color
This box has a border color of #5a0297
<div style="border: 4px solid #5a0297">Text here</div>
CSS codes
<p style="color:#5a0297">Text here</p>
<div style="background-color:#5a0297">Text here</div>
<div style="border: 4px solid #5a0297">Text here</div>
#5a0297 Color on white background
This is how a font and box color of #5a0297 will look
on a white background.
#5a0297 Color on black background
This is how a font and box color of #5a0297 hex color will look
on a black background.