In RGB color space, #5a1a8b hex color has a red value of 90, a green value of 26 and a blue value of 139.
In CMYK color space (used in color printing), #5a1a8b hex color is composed of 35.25% cyan, 81.29% magenta, 0% yellow and 45.49% black.
#5a1a8b color has a hue of 274 degrees, a saturation of 68.48% and a lightness of 32.4%.
#5a1a8b hex color contains mainly BLUE.
The closest web safe color of #5a1a8b is #663399
#5a1a8b hex color has a decimal value of 5905035.
HEX | 5a1a8b | #5a1a8b |
---|---|---|
RGB | 90, 26, 139 | rgb(90, 26, 139) |
RGB Percent | 35.29, 10.2, 54.51 | rgb(35.29, 10.2, 54.51) |
CMYK | 35, 81, 0, 45 | |
HSL | 274°, 68.48, 32.4 | hsl(274, 68.48%, 32.4%) |
HSV | 274°, 81.3, 54.5 |
XYZ | 9.246, 4.777, 24.861 |
---|---|
Hunter Lab | 21.856, 37.263, -52.141 |
CIE-LAB | 26.09, 48.533, -49.672 |
CIE-LCH | 26.09, 69.446, 314.336 |
CIE-LUV | 35.25, 81.29, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a1a8b
CMYK percent of color #5a1a8b
Text with hexadecimal color #5a1a8b
This text has a font color of #5a1a8b
<p style="color:#5a1a8b">Text here</p>
#5a1a8b Background Color
This box has a background color of #5a1a8b
<div style="background-color:#5a1a8b">Text here</div>
#5a1a8b Border Color
This box has a border color of #5a1a8b
<div style="border: 4px solid #5a1a8b">Text here</div>
CSS codes
<p style="color:#5a1a8b">Text here</p>
<div style="background-color:#5a1a8b">Text here</div>
<div style="border: 4px solid #5a1a8b">Text here</div>
#5a1a8b Color on white background
This is how a font and box color of #5a1a8b will look
on a white background.
#5a1a8b Color on black background
This is how a font and box color of #5a1a8b hex color will look
on a black background.