In RGB color space, #5a1f77 hex color has a red value of 90, a green value of 31 and a blue value of 119.
In CMYK color space (used in color printing), #5a1f77 hex color is composed of 24.37% cyan, 73.95% magenta, 0% yellow and 53.33% black.
#5a1f77 color has a hue of 280.2 degrees, a saturation of 58.67% and a lightness of 29.4%.
#5a1f77 hex color contains mainly BLUE.
The closest web safe color of #5a1f77 is #663366
#5a1f77 hex color has a decimal value of 5906295.
HEX | 5a1f77 | #5a1f77 |
---|---|---|
RGB | 90, 31, 119 | rgb(90, 31, 119) |
RGB Percent | 35.29, 12.16, 46.67 | rgb(35.29, 12.16, 46.67) |
CMYK | 24, 74, 0, 53 | |
HSL | 280.2°, 58.67, 29.4 | hsl(280.2, 58.67%, 29.4%) |
HSV | 280.2°, 73.9, 46.7 |
XYZ | 8.036, 4.486, 17.895 |
---|---|
Hunter Lab | 21.18, 30.66, -35.268 |
CIE-LAB | 25.217, 41.791, -38.488 |
CIE-LCH | 25.217, 56.814, 317.356 |
CIE-LUV | 24.37, 73.95, 0, 53.33 |
Web Safe | 663366 |
RGB percent of color #5a1f77
CMYK percent of color #5a1f77
Text with hexadecimal color #5a1f77
This text has a font color of #5a1f77
<p style="color:#5a1f77">Text here</p>
#5a1f77 Background Color
This box has a background color of #5a1f77
<div style="background-color:#5a1f77">Text here</div>
#5a1f77 Border Color
This box has a border color of #5a1f77
<div style="border: 4px solid #5a1f77">Text here</div>
CSS codes
<p style="color:#5a1f77">Text here</p>
<div style="background-color:#5a1f77">Text here</div>
<div style="border: 4px solid #5a1f77">Text here</div>
#5a1f77 Color on white background
This is how a font and box color of #5a1f77 will look
on a white background.
#5a1f77 Color on black background
This is how a font and box color of #5a1f77 hex color will look
on a black background.