In RGB color space, #5a51c0 hex color has a red value of 90, a green value of 81 and a blue value of 192.
In CMYK color space (used in color printing), #5a51c0 hex color is composed of 53.13% cyan, 57.81% magenta, 0% yellow and 24.71% black.
#5a51c0 color has a hue of 244.9 degrees, a saturation of 46.84% and a lightness of 53.5%.
#5a51c0 hex color contains mainly BLUE.
The closest web safe color of #5a51c0 is #6666cc
#5a51c0 hex color has a decimal value of 5919168.
HEX | 5a51c0 | #5a51c0 |
---|---|---|
RGB | 90, 81, 192 | rgb(90, 81, 192) |
RGB Percent | 35.29, 31.76, 75.29 | rgb(35.29, 31.76, 75.29) |
CMYK | 53, 58, 0, 25 | |
HSL | 244.9°, 46.84, 53.5 | hsl(244.9, 46.84%, 53.5%) |
HSV | 244.9°, 57.8, 75.3 |
XYZ | 16.673, 11.864, 51.28 |
---|---|
Hunter Lab | 34.444, 26.127, -64.159 |
CIE-LAB | 40.999, 34.209, -57.331 |
CIE-LCH | 40.999, 66.762, 300.824 |
CIE-LUV | 53.13, 57.81, 0, 24.71 |
Web Safe | 6666cc |
RGB percent of color #5a51c0
CMYK percent of color #5a51c0
Text with hexadecimal color #5a51c0
This text has a font color of #5a51c0
<p style="color:#5a51c0">Text here</p>
#5a51c0 Background Color
This box has a background color of #5a51c0
<div style="background-color:#5a51c0">Text here</div>
#5a51c0 Border Color
This box has a border color of #5a51c0
<div style="border: 4px solid #5a51c0">Text here</div>
CSS codes
<p style="color:#5a51c0">Text here</p>
<div style="background-color:#5a51c0">Text here</div>
<div style="border: 4px solid #5a51c0">Text here</div>
#5a51c0 Color on white background
This is how a font and box color of #5a51c0 will look
on a white background.
#5a51c0 Color on black background
This is how a font and box color of #5a51c0 hex color will look
on a black background.