In RGB color space, #5a2a8f hex color has a red value of 90, a green value of 42 and a blue value of 143.
In CMYK color space (used in color printing), #5a2a8f hex color is composed of 37.06% cyan, 70.63% magenta, 0% yellow and 43.92% black.
#5a2a8f color has a hue of 268.5 degrees, a saturation of 54.59% and a lightness of 36.3%.
#5a2a8f hex color contains mainly BLUE.
The closest web safe color of #5a2a8f is #663399
#5a2a8f hex color has a decimal value of 5909135.
HEX | 5a2a8f | #5a2a8f |
---|---|---|
RGB | 90, 42, 143 | rgb(90, 42, 143) |
RGB Percent | 35.29, 16.47, 56.08 | rgb(35.29, 16.47, 56.08) |
CMYK | 37, 71, 0, 44 | |
HSL | 268.5°, 54.59, 36.3 | hsl(268.5, 54.59%, 36.3%) |
HSV | 268.5°, 70.6, 56.1 |
XYZ | 10.002, 5.813, 26.581 |
---|---|
Hunter Lab | 24.11, 31.857, -48.489 |
CIE-LAB | 28.936, 42.37, -47.522 |
CIE-LCH | 28.936, 63.668, 311.72 |
CIE-LUV | 37.06, 70.63, 0, 43.92 |
Web Safe | 663399 |
RGB percent of color #5a2a8f
CMYK percent of color #5a2a8f
Text with hexadecimal color #5a2a8f
This text has a font color of #5a2a8f
<p style="color:#5a2a8f">Text here</p>
#5a2a8f Background Color
This box has a background color of #5a2a8f
<div style="background-color:#5a2a8f">Text here</div>
#5a2a8f Border Color
This box has a border color of #5a2a8f
<div style="border: 4px solid #5a2a8f">Text here</div>
CSS codes
<p style="color:#5a2a8f">Text here</p>
<div style="background-color:#5a2a8f">Text here</div>
<div style="border: 4px solid #5a2a8f">Text here</div>
#5a2a8f Color on white background
This is how a font and box color of #5a2a8f will look
on a white background.
#5a2a8f Color on black background
This is how a font and box color of #5a2a8f hex color will look
on a black background.