In RGB color space, #5a51b5 hex color has a red value of 90, a green value of 81 and a blue value of 181.
In CMYK color space (used in color printing), #5a51b5 hex color is composed of 50.28% cyan, 55.25% magenta, 0% yellow and 29.02% black.
#5a51b5 color has a hue of 245.4 degrees, a saturation of 40.32% and a lightness of 51.4%.
#5a51b5 hex color contains mainly BLUE.
The closest web safe color of #5a51b5 is #6666cc
#5a51b5 hex color has a decimal value of 5919157.
HEX | 5a51b5 | #5a51b5 |
---|---|---|
RGB | 90, 81, 181 | rgb(90, 81, 181) |
RGB Percent | 35.29, 31.76, 70.98 | rgb(35.29, 31.76, 70.98) |
CMYK | 50, 55, 0, 29 | |
HSL | 245.4°, 40.32, 51.4 | hsl(245.4, 40.32%, 51.4%) |
HSV | 245.4°, 55.2, 71 |
XYZ | 15.499, 11.395, 45.099 |
---|---|
Hunter Lab | 33.756, 22.883, -55.583 |
CIE-LAB | 40.238, 30.76, -52.122 |
CIE-LCH | 40.238, 60.522, 300.547 |
CIE-LUV | 50.28, 55.25, 0, 29.02 |
Web Safe | 6666cc |
RGB percent of color #5a51b5
CMYK percent of color #5a51b5
Text with hexadecimal color #5a51b5
This text has a font color of #5a51b5
<p style="color:#5a51b5">Text here</p>
#5a51b5 Background Color
This box has a background color of #5a51b5
<div style="background-color:#5a51b5">Text here</div>
#5a51b5 Border Color
This box has a border color of #5a51b5
<div style="border: 4px solid #5a51b5">Text here</div>
CSS codes
<p style="color:#5a51b5">Text here</p>
<div style="background-color:#5a51b5">Text here</div>
<div style="border: 4px solid #5a51b5">Text here</div>
#5a51b5 Color on white background
This is how a font and box color of #5a51b5 will look
on a white background.
#5a51b5 Color on black background
This is how a font and box color of #5a51b5 hex color will look
on a black background.