In RGB color space, #5a2ba4 hex color has a red value of 90, a green value of 43 and a blue value of 164.
In CMYK color space (used in color printing), #5a2ba4 hex color is composed of 45.12% cyan, 73.78% magenta, 0% yellow and 35.69% black.
#5a2ba4 color has a hue of 263.3 degrees, a saturation of 58.45% and a lightness of 40.6%.
#5a2ba4 hex color contains mainly BLUE.
The closest web safe color of #5a2ba4 is #663399
#5a2ba4 hex color has a decimal value of 5909412.
HEX | 5a2ba4 | #5a2ba4 |
---|---|---|
RGB | 90, 43, 164 | rgb(90, 43, 164) |
RGB Percent | 35.29, 16.86, 64.31 | rgb(35.29, 16.86, 64.31) |
CMYK | 45, 74, 0, 36 | |
HSL | 263.3°, 58.45, 40.6 | hsl(263.3, 58.45%, 40.6%) |
HSV | 263.3°, 73.8, 64.3 |
XYZ | 11.781, 6.582, 35.771 |
---|---|
Hunter Lab | 25.655, 37.07, -64.708 |
CIE-LAB | 30.836, 47.419, -57.251 |
CIE-LCH | 30.836, 74.339, 309.634 |
CIE-LUV | 45.12, 73.78, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5a2ba4
CMYK percent of color #5a2ba4
Text with hexadecimal color #5a2ba4
This text has a font color of #5a2ba4
<p style="color:#5a2ba4">Text here</p>
#5a2ba4 Background Color
This box has a background color of #5a2ba4
<div style="background-color:#5a2ba4">Text here</div>
#5a2ba4 Border Color
This box has a border color of #5a2ba4
<div style="border: 4px solid #5a2ba4">Text here</div>
CSS codes
<p style="color:#5a2ba4">Text here</p>
<div style="background-color:#5a2ba4">Text here</div>
<div style="border: 4px solid #5a2ba4">Text here</div>
#5a2ba4 Color on white background
This is how a font and box color of #5a2ba4 will look
on a white background.
#5a2ba4 Color on black background
This is how a font and box color of #5a2ba4 hex color will look
on a black background.