In RGB color space, #5a51a9 hex color has a red value of 90, a green value of 81 and a blue value of 169.
In CMYK color space (used in color printing), #5a51a9 hex color is composed of 46.75% cyan, 52.07% magenta, 0% yellow and 33.73% black.
#5a51a9 color has a hue of 246.1 degrees, a saturation of 35.2% and a lightness of 49%.
#5a51a9 hex color contains mainly BLUE.
The closest web safe color of #5a51a9 is #666699
#5a51a9 hex color has a decimal value of 5919145.
HEX | 5a51a9 | #5a51a9 |
---|---|---|
RGB | 90, 81, 169 | rgb(90, 81, 169) |
RGB Percent | 35.29, 31.76, 66.27 | rgb(35.29, 31.76, 66.27) |
CMYK | 47, 52, 0, 34 | |
HSL | 246.1°, 35.2, 49 | hsl(246.1, 35.2%, 49%) |
HSV | 246.1°, 52.1, 66.3 |
XYZ | 14.32, 10.923, 38.89 |
---|---|
Hunter Lab | 33.05, 19.504, -46.632 |
CIE-LAB | 39.45, 27.044, -46.298 |
CIE-LCH | 39.45, 53.618, 300.29 |
CIE-LUV | 46.75, 52.07, 0, 33.73 |
Web Safe | 666699 |
RGB percent of color #5a51a9
CMYK percent of color #5a51a9
Text with hexadecimal color #5a51a9
This text has a font color of #5a51a9
<p style="color:#5a51a9">Text here</p>
#5a51a9 Background Color
This box has a background color of #5a51a9
<div style="background-color:#5a51a9">Text here</div>
#5a51a9 Border Color
This box has a border color of #5a51a9
<div style="border: 4px solid #5a51a9">Text here</div>
CSS codes
<p style="color:#5a51a9">Text here</p>
<div style="background-color:#5a51a9">Text here</div>
<div style="border: 4px solid #5a51a9">Text here</div>
#5a51a9 Color on white background
This is how a font and box color of #5a51a9 will look
on a white background.
#5a51a9 Color on black background
This is how a font and box color of #5a51a9 hex color will look
on a black background.