In RGB color space, #5a47a1 hex color has a red value of 90, a green value of 71 and a blue value of 161.
In CMYK color space (used in color printing), #5a47a1 hex color is composed of 44.1% cyan, 55.9% magenta, 0% yellow and 36.86% black.
#5a47a1 color has a hue of 252.7 degrees, a saturation of 38.79% and a lightness of 45.5%.
#5a47a1 hex color contains mainly BLUE.
The closest web safe color of #5a47a1 is #663399
#5a47a1 hex color has a decimal value of 5916577.
HEX | 5a47a1 | #5a47a1 |
---|---|---|
RGB | 90, 71, 161 | rgb(90, 71, 161) |
RGB Percent | 35.29, 27.84, 63.14 | rgb(35.29, 27.84, 63.14) |
CMYK | 44, 56, 0, 37 | |
HSL | 252.7°, 38.79, 45.5 | hsl(252.7, 38.79%, 45.5%) |
HSV | 252.7°, 55.9, 63.1 |
XYZ | 12.903, 9.253, 34.824 |
---|---|
Hunter Lab | 30.419, 22.483, -46.583 |
CIE-LAB | 36.467, 30.822, -46.314 |
CIE-LCH | 36.467, 55.633, 303.644 |
CIE-LUV | 44.1, 55.9, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5a47a1
CMYK percent of color #5a47a1
Text with hexadecimal color #5a47a1
This text has a font color of #5a47a1
<p style="color:#5a47a1">Text here</p>
#5a47a1 Background Color
This box has a background color of #5a47a1
<div style="background-color:#5a47a1">Text here</div>
#5a47a1 Border Color
This box has a border color of #5a47a1
<div style="border: 4px solid #5a47a1">Text here</div>
CSS codes
<p style="color:#5a47a1">Text here</p>
<div style="background-color:#5a47a1">Text here</div>
<div style="border: 4px solid #5a47a1">Text here</div>
#5a47a1 Color on white background
This is how a font and box color of #5a47a1 will look
on a white background.
#5a47a1 Color on black background
This is how a font and box color of #5a47a1 hex color will look
on a black background.