In RGB color space, #5a1f83 hex color has a red value of 90, a green value of 31 and a blue value of 131.
In CMYK color space (used in color printing), #5a1f83 hex color is composed of 31.3% cyan, 76.34% magenta, 0% yellow and 48.63% black.
#5a1f83 color has a hue of 275.4 degrees, a saturation of 61.73% and a lightness of 31.8%.
#5a1f83 hex color contains mainly BLUE.
The closest web safe color of #5a1f83 is #663399
#5a1f83 hex color has a decimal value of 5906307.
HEX | 5a1f83 | #5a1f83 |
---|---|---|
RGB | 90, 31, 131 | rgb(90, 31, 131) |
RGB Percent | 35.29, 12.16, 51.37 | rgb(35.29, 12.16, 51.37) |
CMYK | 31, 76, 0, 49 | |
HSL | 275.4°, 61.73, 31.8 | hsl(275.4, 61.73%, 31.8%) |
HSV | 275.4°, 76.3, 51.4 |
XYZ | 8.803, 4.792, 21.934 |
---|---|
Hunter Lab | 21.891, 33.473, -44.084 |
CIE-LAB | 26.134, 44.611, -44.597 |
CIE-LCH | 26.134, 63.08, 315.009 |
CIE-LUV | 31.3, 76.34, 0, 48.63 |
Web Safe | 663399 |
RGB percent of color #5a1f83
CMYK percent of color #5a1f83
Text with hexadecimal color #5a1f83
This text has a font color of #5a1f83
<p style="color:#5a1f83">Text here</p>
#5a1f83 Background Color
This box has a background color of #5a1f83
<div style="background-color:#5a1f83">Text here</div>
#5a1f83 Border Color
This box has a border color of #5a1f83
<div style="border: 4px solid #5a1f83">Text here</div>
CSS codes
<p style="color:#5a1f83">Text here</p>
<div style="background-color:#5a1f83">Text here</div>
<div style="border: 4px solid #5a1f83">Text here</div>
#5a1f83 Color on white background
This is how a font and box color of #5a1f83 will look
on a white background.
#5a1f83 Color on black background
This is how a font and box color of #5a1f83 hex color will look
on a black background.