In RGB color space, #5a1d96 hex color has a red value of 90, a green value of 29 and a blue value of 150.
In CMYK color space (used in color printing), #5a1d96 hex color is composed of 40% cyan, 80.67% magenta, 0% yellow and 41.18% black.
#5a1d96 color has a hue of 270.2 degrees, a saturation of 67.6% and a lightness of 35.1%.
#5a1d96 hex color contains mainly BLUE.
The closest web safe color of #5a1d96 is #663399
#5a1d96 hex color has a decimal value of 5905814.
HEX | 5a1d96 | #5a1d96 |
---|---|---|
RGB | 90, 29, 150 | rgb(90, 29, 150) |
RGB Percent | 35.29, 11.37, 58.82 | rgb(35.29, 11.37, 58.82) |
CMYK | 40, 81, 0, 41 | |
HSL | 270.2°, 67.6, 35.1 | hsl(270.2, 67.6%, 35.1%) |
HSV | 270.2°, 80.7, 58.8 |
XYZ | 10.161, 5.254, 29.333 |
---|---|
Hunter Lab | 22.922, 39.015, -59.829 |
CIE-LAB | 27.446, 50.033, -54.262 |
CIE-LCH | 27.446, 73.808, 312.678 |
CIE-LUV | 40, 80.67, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #5a1d96
CMYK percent of color #5a1d96
Text with hexadecimal color #5a1d96
This text has a font color of #5a1d96
<p style="color:#5a1d96">Text here</p>
#5a1d96 Background Color
This box has a background color of #5a1d96
<div style="background-color:#5a1d96">Text here</div>
#5a1d96 Border Color
This box has a border color of #5a1d96
<div style="border: 4px solid #5a1d96">Text here</div>
CSS codes
<p style="color:#5a1d96">Text here</p>
<div style="background-color:#5a1d96">Text here</div>
<div style="border: 4px solid #5a1d96">Text here</div>
#5a1d96 Color on white background
This is how a font and box color of #5a1d96 will look
on a white background.
#5a1d96 Color on black background
This is how a font and box color of #5a1d96 hex color will look
on a black background.