In RGB color space, #5a1f85 hex color has a red value of 90, a green value of 31 and a blue value of 133.
In CMYK color space (used in color printing), #5a1f85 hex color is composed of 32.33% cyan, 76.69% magenta, 0% yellow and 47.84% black.
#5a1f85 color has a hue of 274.7 degrees, a saturation of 62.2% and a lightness of 32.2%.
#5a1f85 hex color contains mainly BLUE.
The closest web safe color of #5a1f85 is #663399
#5a1f85 hex color has a decimal value of 5906309.
HEX | 5a1f85 | #5a1f85 |
---|---|---|
RGB | 90, 31, 133 | rgb(90, 31, 133) |
RGB Percent | 35.29, 12.16, 52.16 | rgb(35.29, 12.16, 52.16) |
CMYK | 32, 77, 0, 48 | |
HSL | 274.7°, 62.2, 32.2 | hsl(274.7, 62.2%, 32.2%) |
HSV | 274.7°, 76.7, 52.2 |
XYZ | 8.94, 4.847, 22.655 |
---|---|
Hunter Lab | 22.016, 33.956, -45.6 |
CIE-LAB | 26.294, 45.086, -45.591 |
CIE-LCH | 26.294, 64.119, 314.681 |
CIE-LUV | 32.33, 76.69, 0, 47.84 |
Web Safe | 663399 |
RGB percent of color #5a1f85
CMYK percent of color #5a1f85
Text with hexadecimal color #5a1f85
This text has a font color of #5a1f85
<p style="color:#5a1f85">Text here</p>
#5a1f85 Background Color
This box has a background color of #5a1f85
<div style="background-color:#5a1f85">Text here</div>
#5a1f85 Border Color
This box has a border color of #5a1f85
<div style="border: 4px solid #5a1f85">Text here</div>
CSS codes
<p style="color:#5a1f85">Text here</p>
<div style="background-color:#5a1f85">Text here</div>
<div style="border: 4px solid #5a1f85">Text here</div>
#5a1f85 Color on white background
This is how a font and box color of #5a1f85 will look
on a white background.
#5a1f85 Color on black background
This is how a font and box color of #5a1f85 hex color will look
on a black background.