In RGB color space, #5a1996 hex color has a red value of 90, a green value of 25 and a blue value of 150.
In CMYK color space (used in color printing), #5a1996 hex color is composed of 40% cyan, 83.33% magenta, 0% yellow and 41.18% black.
#5a1996 color has a hue of 271.2 degrees, a saturation of 71.43% and a lightness of 34.3%.
#5a1996 hex color contains mainly BLUE.
The closest web safe color of #5a1996 is #660099
#5a1996 hex color has a decimal value of 5904790.
HEX | 5a1996 | #5a1996 |
---|---|---|
RGB | 90, 25, 150 | rgb(90, 25, 150) |
RGB Percent | 35.29, 9.8, 58.82 | rgb(35.29, 9.8, 58.82) |
CMYK | 40, 83, 0, 41 | |
HSL | 271.2°, 71.43, 34.3 | hsl(271.2, 71.43%, 34.3%) |
HSV | 271.2°, 83.3, 58.8 |
XYZ | 10.069, 5.071, 29.302 |
---|---|
Hunter Lab | 22.519, 40.406, -61.386 |
CIE-LAB | 26.936, 51.515, -55.097 |
CIE-LCH | 26.936, 75.429, 313.076 |
CIE-LUV | 40, 83.33, 0, 41.18 |
Web Safe | 660099 |
RGB percent of color #5a1996
CMYK percent of color #5a1996
Text with hexadecimal color #5a1996
This text has a font color of #5a1996
<p style="color:#5a1996">Text here</p>
#5a1996 Background Color
This box has a background color of #5a1996
<div style="background-color:#5a1996">Text here</div>
#5a1996 Border Color
This box has a border color of #5a1996
<div style="border: 4px solid #5a1996">Text here</div>
CSS codes
<p style="color:#5a1996">Text here</p>
<div style="background-color:#5a1996">Text here</div>
<div style="border: 4px solid #5a1996">Text here</div>
#5a1996 Color on white background
This is how a font and box color of #5a1996 will look
on a white background.
#5a1996 Color on black background
This is how a font and box color of #5a1996 hex color will look
on a black background.