In RGB color space, #5a1f91 hex color has a red value of 90, a green value of 31 and a blue value of 145.
In CMYK color space (used in color printing), #5a1f91 hex color is composed of 37.93% cyan, 78.62% magenta, 0% yellow and 43.14% black.
#5a1f91 color has a hue of 271.1 degrees, a saturation of 64.77% and a lightness of 34.5%.
#5a1f91 hex color contains mainly BLUE.
The closest web safe color of #5a1f91 is #663399
#5a1f91 hex color has a decimal value of 5906321.
HEX | 5a1f91 | #5a1f91 |
---|---|---|
RGB | 90, 31, 145 | rgb(90, 31, 145) |
RGB Percent | 35.29, 12.16, 56.86 | rgb(35.29, 12.16, 56.86) |
CMYK | 38, 79, 0, 43 | |
HSL | 271.1°, 64.77, 34.5 | hsl(271.1, 64.77%, 34.5%) |
HSV | 271.1°, 78.6, 56.9 |
XYZ | 9.817, 5.198, 27.274 |
---|---|
Hunter Lab | 22.799, 36.961, -54.968 |
CIE-LAB | 27.292, 47.992, -51.434 |
CIE-LCH | 27.292, 70.347, 313.017 |
CIE-LUV | 37.93, 78.62, 0, 43.14 |
Web Safe | 663399 |
RGB percent of color #5a1f91
CMYK percent of color #5a1f91
Text with hexadecimal color #5a1f91
This text has a font color of #5a1f91
<p style="color:#5a1f91">Text here</p>
#5a1f91 Background Color
This box has a background color of #5a1f91
<div style="background-color:#5a1f91">Text here</div>
#5a1f91 Border Color
This box has a border color of #5a1f91
<div style="border: 4px solid #5a1f91">Text here</div>
CSS codes
<p style="color:#5a1f91">Text here</p>
<div style="background-color:#5a1f91">Text here</div>
<div style="border: 4px solid #5a1f91">Text here</div>
#5a1f91 Color on white background
This is how a font and box color of #5a1f91 will look
on a white background.
#5a1f91 Color on black background
This is how a font and box color of #5a1f91 hex color will look
on a black background.