In RGB color space, #5a51c4 hex color has a red value of 90, a green value of 81 and a blue value of 196.
In CMYK color space (used in color printing), #5a51c4 hex color is composed of 54.08% cyan, 58.67% magenta, 0% yellow and 23.14% black.
#5a51c4 color has a hue of 244.7 degrees, a saturation of 49.36% and a lightness of 54.3%.
#5a51c4 hex color contains mainly BLUE.
The closest web safe color of #5a51c4 is #6666cc
#5a51c4 hex color has a decimal value of 5919172.
HEX | 5a51c4 | #5a51c4 |
---|---|---|
RGB | 90, 81, 196 | rgb(90, 81, 196) |
RGB Percent | 35.29, 31.76, 76.86 | rgb(35.29, 31.76, 76.86) |
CMYK | 54, 59, 0, 23 | |
HSL | 244.7°, 49.36, 54.3 | hsl(244.7, 49.36%, 54.3%) |
HSV | 244.7°, 58.7, 76.9 |
XYZ | 17.123, 12.044, 53.647 |
---|---|
Hunter Lab | 34.704, 27.338, -67.359 |
CIE-LAB | 41.286, 35.468, -59.195 |
CIE-LCH | 41.286, 69.007, 300.929 |
CIE-LUV | 54.08, 58.67, 0, 23.14 |
Web Safe | 6666cc |
RGB percent of color #5a51c4
CMYK percent of color #5a51c4
Text with hexadecimal color #5a51c4
This text has a font color of #5a51c4
<p style="color:#5a51c4">Text here</p>
#5a51c4 Background Color
This box has a background color of #5a51c4
<div style="background-color:#5a51c4">Text here</div>
#5a51c4 Border Color
This box has a border color of #5a51c4
<div style="border: 4px solid #5a51c4">Text here</div>
CSS codes
<p style="color:#5a51c4">Text here</p>
<div style="background-color:#5a51c4">Text here</div>
<div style="border: 4px solid #5a51c4">Text here</div>
#5a51c4 Color on white background
This is how a font and box color of #5a51c4 will look
on a white background.
#5a51c4 Color on black background
This is how a font and box color of #5a51c4 hex color will look
on a black background.