In RGB color space, #5a1f59 hex color has a red value of 90, a green value of 31 and a blue value of 89.
In CMYK color space (used in color printing), #5a1f59 hex color is composed of 0% cyan, 65.56% magenta, 1.11% yellow and 64.71% black.
#5a1f59 color has a hue of 301 degrees, a saturation of 48.76% and a lightness of 23.7%.
#5a1f59 hex color contains mainly RED.
The closest web safe color of #5a1f59 is #663366
#5a1f59 hex color has a decimal value of 5906265.
HEX | 5a1f59 | #5a1f59 |
---|---|---|
RGB | 90, 31, 89 | rgb(90, 31, 89) |
RGB Percent | 35.29, 12.16, 34.9 | rgb(35.29, 12.16, 34.9) |
CMYK | 0, 66, 1, 65 | |
HSL | 301°, 48.76, 23.7 | hsl(301, 48.76%, 23.7%) |
HSV | 301°, 65.6, 35.3 |
XYZ | 6.51, 3.875, 9.856 |
---|---|
Hunter Lab | 19.685, 24.583, -15.906 |
CIE-LAB | 23.254, 35.377, -22.121 |
CIE-LCH | 23.254, 41.724, 327.983 |
CIE-LUV | 0, 65.56, 1.11, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1f59
CMYK percent of color #5a1f59
Text with hexadecimal color #5a1f59
This text has a font color of #5a1f59
<p style="color:#5a1f59">Text here</p>
#5a1f59 Background Color
This box has a background color of #5a1f59
<div style="background-color:#5a1f59">Text here</div>
#5a1f59 Border Color
This box has a border color of #5a1f59
<div style="border: 4px solid #5a1f59">Text here</div>
CSS codes
<p style="color:#5a1f59">Text here</p>
<div style="background-color:#5a1f59">Text here</div>
<div style="border: 4px solid #5a1f59">Text here</div>
#5a1f59 Color on white background
This is how a font and box color of #5a1f59 will look
on a white background.
#5a1f59 Color on black background
This is how a font and box color of #5a1f59 hex color will look
on a black background.