In RGB color space, #5a1f8b hex color has a red value of 90, a green value of 31 and a blue value of 139.
In CMYK color space (used in color printing), #5a1f8b hex color is composed of 35.25% cyan, 77.7% magenta, 0% yellow and 45.49% black.
#5a1f8b color has a hue of 272.8 degrees, a saturation of 63.53% and a lightness of 33.3%.
#5a1f8b hex color contains mainly BLUE.
The closest web safe color of #5a1f8b is #663399
#5a1f8b hex color has a decimal value of 5906315.
HEX | 5a1f8b | #5a1f8b |
---|---|---|
RGB | 90, 31, 139 | rgb(90, 31, 139) |
RGB Percent | 35.29, 12.16, 54.51 | rgb(35.29, 12.16, 54.51) |
CMYK | 35, 78, 0, 45 | |
HSL | 272.8°, 63.53, 33.3 | hsl(272.8, 63.53%, 33.3%) |
HSV | 272.8°, 77.7, 54.5 |
XYZ | 9.367, 5.018, 24.901 |
---|---|
Hunter Lab | 22.401, 35.439, -50.227 |
CIE-LAB | 26.786, 46.531, -48.537 |
CIE-LCH | 26.786, 67.238, 313.791 |
CIE-LUV | 35.25, 77.7, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a1f8b
CMYK percent of color #5a1f8b
Text with hexadecimal color #5a1f8b
This text has a font color of #5a1f8b
<p style="color:#5a1f8b">Text here</p>
#5a1f8b Background Color
This box has a background color of #5a1f8b
<div style="background-color:#5a1f8b">Text here</div>
#5a1f8b Border Color
This box has a border color of #5a1f8b
<div style="border: 4px solid #5a1f8b">Text here</div>
CSS codes
<p style="color:#5a1f8b">Text here</p>
<div style="background-color:#5a1f8b">Text here</div>
<div style="border: 4px solid #5a1f8b">Text here</div>
#5a1f8b Color on white background
This is how a font and box color of #5a1f8b will look
on a white background.
#5a1f8b Color on black background
This is how a font and box color of #5a1f8b hex color will look
on a black background.