In RGB color space, #5a1f81 hex color has a red value of 90, a green value of 31 and a blue value of 129.
In CMYK color space (used in color printing), #5a1f81 hex color is composed of 30.23% cyan, 75.97% magenta, 0% yellow and 49.41% black.
#5a1f81 color has a hue of 276.1 degrees, a saturation of 61.25% and a lightness of 31.4%.
#5a1f81 hex color contains mainly BLUE.
The closest web safe color of #5a1f81 is #663399
#5a1f81 hex color has a decimal value of 5906305.
HEX | 5a1f81 | #5a1f81 |
---|---|---|
RGB | 90, 31, 129 | rgb(90, 31, 129) |
RGB Percent | 35.29, 12.16, 50.59 | rgb(35.29, 12.16, 50.59) |
CMYK | 30, 76, 0, 49 | |
HSL | 276.1°, 61.25, 31.4 | hsl(276.1, 61.25%, 31.4%) |
HSV | 276.1°, 76, 50.6 |
XYZ | 8.669, 4.739, 21.227 |
---|---|
Hunter Lab | 21.769, 32.987, -42.575 |
CIE-LAB | 25.978, 44.129, -43.593 |
CIE-LCH | 25.978, 62.03, 315.35 |
CIE-LUV | 30.23, 75.97, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #5a1f81
CMYK percent of color #5a1f81
Text with hexadecimal color #5a1f81
This text has a font color of #5a1f81
<p style="color:#5a1f81">Text here</p>
#5a1f81 Background Color
This box has a background color of #5a1f81
<div style="background-color:#5a1f81">Text here</div>
#5a1f81 Border Color
This box has a border color of #5a1f81
<div style="border: 4px solid #5a1f81">Text here</div>
CSS codes
<p style="color:#5a1f81">Text here</p>
<div style="background-color:#5a1f81">Text here</div>
<div style="border: 4px solid #5a1f81">Text here</div>
#5a1f81 Color on white background
This is how a font and box color of #5a1f81 will look
on a white background.
#5a1f81 Color on black background
This is how a font and box color of #5a1f81 hex color will look
on a black background.