In RGB color space, #5a51b0 hex color has a red value of 90, a green value of 81 and a blue value of 176.
In CMYK color space (used in color printing), #5a51b0 hex color is composed of 48.86% cyan, 53.98% magenta, 0% yellow and 30.98% black.
#5a51b0 color has a hue of 245.7 degrees, a saturation of 37.55% and a lightness of 50.4%.
#5a51b0 hex color contains mainly BLUE.
The closest web safe color of #5a51b0 is #666699
#5a51b0 hex color has a decimal value of 5919152.
HEX | 5a51b0 | #5a51b0 |
---|---|---|
RGB | 90, 81, 176 | rgb(90, 81, 176) |
RGB Percent | 35.29, 31.76, 69.02 | rgb(35.29, 31.76, 69.02) |
CMYK | 49, 54, 0, 31 | |
HSL | 245.7°, 37.55, 50.4 | hsl(245.7, 37.55%, 50.4%) |
HSV | 245.7°, 54, 69 |
XYZ | 14.995, 11.193, 42.444 |
---|---|
Hunter Lab | 33.456, 21.456, -51.799 |
CIE-LAB | 39.904, 29.207, -49.714 |
CIE-LCH | 39.904, 57.659, 300.434 |
CIE-LUV | 48.86, 53.98, 0, 30.98 |
Web Safe | 666699 |
RGB percent of color #5a51b0
CMYK percent of color #5a51b0
Text with hexadecimal color #5a51b0
This text has a font color of #5a51b0
<p style="color:#5a51b0">Text here</p>
#5a51b0 Background Color
This box has a background color of #5a51b0
<div style="background-color:#5a51b0">Text here</div>
#5a51b0 Border Color
This box has a border color of #5a51b0
<div style="border: 4px solid #5a51b0">Text here</div>
CSS codes
<p style="color:#5a51b0">Text here</p>
<div style="background-color:#5a51b0">Text here</div>
<div style="border: 4px solid #5a51b0">Text here</div>
#5a51b0 Color on white background
This is how a font and box color of #5a51b0 will look
on a white background.
#5a51b0 Color on black background
This is how a font and box color of #5a51b0 hex color will look
on a black background.