In RGB color space, #5a1f76 hex color has a red value of 90, a green value of 31 and a blue value of 118.
In CMYK color space (used in color printing), #5a1f76 hex color is composed of 23.73% cyan, 73.73% magenta, 0% yellow and 53.73% black.
#5a1f76 color has a hue of 280.7 degrees, a saturation of 58.39% and a lightness of 29.2%.
#5a1f76 hex color contains mainly BLUE.
The closest web safe color of #5a1f76 is #663366
#5a1f76 hex color has a decimal value of 5906294.
HEX | 5a1f76 | #5a1f76 |
---|---|---|
RGB | 90, 31, 118 | rgb(90, 31, 118) |
RGB Percent | 35.29, 12.16, 46.27 | rgb(35.29, 12.16, 46.27) |
CMYK | 24, 74, 0, 54 | |
HSL | 280.7°, 58.39, 29.2 | hsl(280.7, 58.39%, 29.2%) |
HSV | 280.7°, 73.7, 46.3 |
XYZ | 7.976, 4.462, 17.58 |
---|---|
Hunter Lab | 21.123, 30.434, -34.558 |
CIE-LAB | 25.143, 41.561, -37.968 |
CIE-LCH | 25.143, 56.293, 317.587 |
CIE-LUV | 23.73, 73.73, 0, 53.73 |
Web Safe | 663366 |
RGB percent of color #5a1f76
CMYK percent of color #5a1f76
Text with hexadecimal color #5a1f76
This text has a font color of #5a1f76
<p style="color:#5a1f76">Text here</p>
#5a1f76 Background Color
This box has a background color of #5a1f76
<div style="background-color:#5a1f76">Text here</div>
#5a1f76 Border Color
This box has a border color of #5a1f76
<div style="border: 4px solid #5a1f76">Text here</div>
CSS codes
<p style="color:#5a1f76">Text here</p>
<div style="background-color:#5a1f76">Text here</div>
<div style="border: 4px solid #5a1f76">Text here</div>
#5a1f76 Color on white background
This is how a font and box color of #5a1f76 will look
on a white background.
#5a1f76 Color on black background
This is how a font and box color of #5a1f76 hex color will look
on a black background.