In RGB color space, #5a2ab2 hex color has a red value of 90, a green value of 42 and a blue value of 178.
In CMYK color space (used in color printing), #5a2ab2 hex color is composed of 49.44% cyan, 76.4% magenta, 0% yellow and 30.2% black.
#5a2ab2 color has a hue of 261.2 degrees, a saturation of 61.82% and a lightness of 43.1%.
#5a2ab2 hex color contains mainly BLUE.
The closest web safe color of #5a2ab2 is #663399
#5a2ab2 hex color has a decimal value of 5909170.
HEX | 5a2ab2 | #5a2ab2 |
---|---|---|
RGB | 90, 42, 178 | rgb(90, 42, 178) |
RGB Percent | 35.29, 16.47, 69.8 | rgb(35.29, 16.47, 69.8) |
CMYK | 49, 76, 0, 30 | |
HSL | 261.2°, 61.82, 43.1 | hsl(261.2, 61.82%, 43.1%) |
HSV | 261.2°, 76.4, 69.8 |
XYZ | 13.08, 7.044, 42.79 |
---|---|
Hunter Lab | 26.541, 41.524, -77.012 |
CIE-LAB | 31.907, 51.648, -63.897 |
CIE-LCH | 31.907, 82.16, 308.949 |
CIE-LUV | 49.44, 76.4, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #5a2ab2
CMYK percent of color #5a2ab2
Text with hexadecimal color #5a2ab2
This text has a font color of #5a2ab2
<p style="color:#5a2ab2">Text here</p>
#5a2ab2 Background Color
This box has a background color of #5a2ab2
<div style="background-color:#5a2ab2">Text here</div>
#5a2ab2 Border Color
This box has a border color of #5a2ab2
<div style="border: 4px solid #5a2ab2">Text here</div>
CSS codes
<p style="color:#5a2ab2">Text here</p>
<div style="background-color:#5a2ab2">Text here</div>
<div style="border: 4px solid #5a2ab2">Text here</div>
#5a2ab2 Color on white background
This is how a font and box color of #5a2ab2 will look
on a white background.
#5a2ab2 Color on black background
This is how a font and box color of #5a2ab2 hex color will look
on a black background.