In RGB color space, #5a1d8b hex color has a red value of 90, a green value of 29 and a blue value of 139.
In CMYK color space (used in color printing), #5a1d8b hex color is composed of 35.25% cyan, 79.14% magenta, 0% yellow and 45.49% black.
#5a1d8b color has a hue of 273.3 degrees, a saturation of 65.48% and a lightness of 32.9%.
#5a1d8b hex color contains mainly BLUE.
The closest web safe color of #5a1d8b is #663399
#5a1d8b hex color has a decimal value of 5905803.
HEX | 5a1d8b | #5a1d8b |
---|---|---|
RGB | 90, 29, 139 | rgb(90, 29, 139) |
RGB Percent | 35.29, 11.37, 54.51 | rgb(35.29, 11.37, 54.51) |
CMYK | 35, 79, 0, 45 | |
HSL | 273.3°, 65.48, 32.9 | hsl(273.3, 65.48%, 32.9%) |
HSV | 273.3°, 79.1, 54.5 |
XYZ | 9.316, 4.916, 24.884 |
---|---|
Hunter Lab | 22.172, 36.199, -51.022 |
CIE-LAB | 26.494, 47.369, -49.013 |
CIE-LCH | 26.494, 68.162, 314.023 |
CIE-LUV | 35.25, 79.14, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a1d8b
CMYK percent of color #5a1d8b
Text with hexadecimal color #5a1d8b
This text has a font color of #5a1d8b
<p style="color:#5a1d8b">Text here</p>
#5a1d8b Background Color
This box has a background color of #5a1d8b
<div style="background-color:#5a1d8b">Text here</div>
#5a1d8b Border Color
This box has a border color of #5a1d8b
<div style="border: 4px solid #5a1d8b">Text here</div>
CSS codes
<p style="color:#5a1d8b">Text here</p>
<div style="background-color:#5a1d8b">Text here</div>
<div style="border: 4px solid #5a1d8b">Text here</div>
#5a1d8b Color on white background
This is how a font and box color of #5a1d8b will look
on a white background.
#5a1d8b Color on black background
This is how a font and box color of #5a1d8b hex color will look
on a black background.