In RGB color space, #5c51b1 hex color has a red value of 92, a green value of 81 and a blue value of 177.
In CMYK color space (used in color printing), #5c51b1 hex color is composed of 48.02% cyan, 54.24% magenta, 0% yellow and 30.59% black.
#5c51b1 color has a hue of 246.9 degrees, a saturation of 38.1% and a lightness of 50.6%.
#5c51b1 hex color contains mainly BLUE.
The closest web safe color of #5c51b1 is #666699
#5c51b1 hex color has a decimal value of 6050225.
HEX | 5c51b1 | #5c51b1 |
---|---|---|
RGB | 92, 81, 177 | rgb(92, 81, 177) |
RGB Percent | 36.08, 31.76, 69.41 | rgb(36.08, 31.76, 69.41) |
CMYK | 48, 54, 0, 31 | |
HSL | 246.9°, 38.1, 50.6 | hsl(246.9, 38.1%, 50.6%) |
HSV | 246.9°, 54.2, 69.4 |
XYZ | 15.292, 11.334, 42.977 |
---|---|
Hunter Lab | 33.666, 22.164, -52.122 |
CIE-LAB | 40.137, 29.972, -49.92 |
CIE-LCH | 40.137, 58.227, 300.981 |
CIE-LUV | 48.02, 54.24, 0, 30.59 |
Web Safe | 666699 |
RGB percent of color #5c51b1
CMYK percent of color #5c51b1
Text with hexadecimal color #5c51b1
This text has a font color of #5c51b1
<p style="color:#5c51b1">Text here</p>
#5c51b1 Background Color
This box has a background color of #5c51b1
<div style="background-color:#5c51b1">Text here</div>
#5c51b1 Border Color
This box has a border color of #5c51b1
<div style="border: 4px solid #5c51b1">Text here</div>
CSS codes
<p style="color:#5c51b1">Text here</p>
<div style="background-color:#5c51b1">Text here</div>
<div style="border: 4px solid #5c51b1">Text here</div>
#5c51b1 Color on white background
This is how a font and box color of #5c51b1 will look
on a white background.
#5c51b1 Color on black background
This is how a font and box color of #5c51b1 hex color will look
on a black background.