In RGB color space, #5a2a8b hex color has a red value of 90, a green value of 42 and a blue value of 139.
In CMYK color space (used in color printing), #5a2a8b hex color is composed of 35.25% cyan, 69.78% magenta, 0% yellow and 45.49% black.
#5a2a8b color has a hue of 269.7 degrees, a saturation of 53.59% and a lightness of 35.5%.
#5a2a8b hex color contains mainly BLUE.
The closest web safe color of #5a2a8b is #663399
#5a2a8b hex color has a decimal value of 5909131.
HEX | 5a2a8b | #5a2a8b |
---|---|---|
RGB | 90, 42, 139 | rgb(90, 42, 139) |
RGB Percent | 35.29, 16.47, 54.51 | rgb(35.29, 16.47, 54.51) |
CMYK | 35, 70, 0, 45 | |
HSL | 269.7°, 53.59, 35.5 | hsl(269.7, 53.59%, 35.5%) |
HSV | 269.7°, 69.8, 54.5 |
XYZ | 9.705, 5.694, 25.014 |
---|---|
Hunter Lab | 23.862, 30.839, -45.449 |
CIE-LAB | 28.627, 41.341, -45.548 |
CIE-LCH | 28.627, 61.512, 312.228 |
CIE-LUV | 35.25, 69.78, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a2a8b
CMYK percent of color #5a2a8b
Text with hexadecimal color #5a2a8b
This text has a font color of #5a2a8b
<p style="color:#5a2a8b">Text here</p>
#5a2a8b Background Color
This box has a background color of #5a2a8b
<div style="background-color:#5a2a8b">Text here</div>
#5a2a8b Border Color
This box has a border color of #5a2a8b
<div style="border: 4px solid #5a2a8b">Text here</div>
CSS codes
<p style="color:#5a2a8b">Text here</p>
<div style="background-color:#5a2a8b">Text here</div>
<div style="border: 4px solid #5a2a8b">Text here</div>
#5a2a8b Color on white background
This is how a font and box color of #5a2a8b will look
on a white background.
#5a2a8b Color on black background
This is how a font and box color of #5a2a8b hex color will look
on a black background.