In RGB color space, #5a51c5 hex color has a red value of 90, a green value of 81 and a blue value of 197.
In CMYK color space (used in color printing), #5a51c5 hex color is composed of 54.31% cyan, 58.88% magenta, 0% yellow and 22.75% black.
#5a51c5 color has a hue of 244.7 degrees, a saturation of 50% and a lightness of 54.5%.
#5a51c5 hex color contains mainly BLUE.
The closest web safe color of #5a51c5 is #6666cc
#5a51c5 hex color has a decimal value of 5919173.
HEX | 5a51c5 | #5a51c5 |
---|---|---|
RGB | 90, 81, 197 | rgb(90, 81, 197) |
RGB Percent | 35.29, 31.76, 77.25 | rgb(35.29, 31.76, 77.25) |
CMYK | 54, 59, 0, 23 | |
HSL | 244.7°, 50, 54.5 | hsl(244.7, 50%, 54.5%) |
HSV | 244.7°, 58.9, 77.3 |
XYZ | 17.237, 12.09, 54.248 |
---|---|
Hunter Lab | 34.771, 27.64, -68.163 |
CIE-LAB | 41.359, 35.78, -59.657 |
CIE-LCH | 41.359, 69.564, 300.954 |
CIE-LUV | 54.31, 58.88, 0, 22.75 |
Web Safe | 6666cc |
RGB percent of color #5a51c5
CMYK percent of color #5a51c5
Text with hexadecimal color #5a51c5
This text has a font color of #5a51c5
<p style="color:#5a51c5">Text here</p>
#5a51c5 Background Color
This box has a background color of #5a51c5
<div style="background-color:#5a51c5">Text here</div>
#5a51c5 Border Color
This box has a border color of #5a51c5
<div style="border: 4px solid #5a51c5">Text here</div>
CSS codes
<p style="color:#5a51c5">Text here</p>
<div style="background-color:#5a51c5">Text here</div>
<div style="border: 4px solid #5a51c5">Text here</div>
#5a51c5 Color on white background
This is how a font and box color of #5a51c5 will look
on a white background.
#5a51c5 Color on black background
This is how a font and box color of #5a51c5 hex color will look
on a black background.