In RGB color space, #5a1f96 hex color has a red value of 90, a green value of 31 and a blue value of 150.
In CMYK color space (used in color printing), #5a1f96 hex color is composed of 40% cyan, 79.33% magenta, 0% yellow and 41.18% black.
#5a1f96 color has a hue of 269.7 degrees, a saturation of 65.75% and a lightness of 35.5%.
#5a1f96 hex color contains mainly BLUE.
The closest web safe color of #5a1f96 is #663399
#5a1f96 hex color has a decimal value of 5906326.
HEX | 5a1f96 | #5a1f96 |
---|---|---|
RGB | 90, 31, 150 | rgb(90, 31, 150) |
RGB Percent | 35.29, 12.16, 58.82 | rgb(35.29, 12.16, 58.82) |
CMYK | 40, 79, 0, 41 | |
HSL | 269.7°, 65.75, 35.5 | hsl(269.7, 65.75%, 35.5%) |
HSV | 269.7°, 79.3, 58.8 |
XYZ | 10.211, 5.356, 29.35 |
---|---|
Hunter Lab | 23.143, 38.256, -58.991 |
CIE-LAB | 27.726, 49.218, -53.806 |
CIE-LCH | 27.726, 72.921, 312.45 |
CIE-LUV | 40, 79.33, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #5a1f96
CMYK percent of color #5a1f96
Text with hexadecimal color #5a1f96
This text has a font color of #5a1f96
<p style="color:#5a1f96">Text here</p>
#5a1f96 Background Color
This box has a background color of #5a1f96
<div style="background-color:#5a1f96">Text here</div>
#5a1f96 Border Color
This box has a border color of #5a1f96
<div style="border: 4px solid #5a1f96">Text here</div>
CSS codes
<p style="color:#5a1f96">Text here</p>
<div style="background-color:#5a1f96">Text here</div>
<div style="border: 4px solid #5a1f96">Text here</div>
#5a1f96 Color on white background
This is how a font and box color of #5a1f96 will look
on a white background.
#5a1f96 Color on black background
This is how a font and box color of #5a1f96 hex color will look
on a black background.