In RGB color space, #5b31c5 hex color has a red value of 91, a green value of 49 and a blue value of 197.
In CMYK color space (used in color printing), #5b31c5 hex color is composed of 53.81% cyan, 75.13% magenta, 0% yellow and 22.75% black.
#5b31c5 color has a hue of 257 degrees, a saturation of 60.16% and a lightness of 48.2%.
#5b31c5 hex color contains mainly BLUE.
The closest web safe color of #5b31c5 is #6633cc
#5b31c5 hex color has a decimal value of 5976517.
HEX | 5b31c5 | #5b31c5 |
---|---|---|
RGB | 91, 49, 197 | rgb(91, 49, 197) |
RGB Percent | 35.69, 19.22, 77.25 | rgb(35.69, 19.22, 77.25) |
CMYK | 54, 75, 0, 23 | |
HSL | 257°, 60.16, 48.2 | hsl(257, 60.16%, 48.2%) |
HSV | 257°, 75.1, 77.3 |
XYZ | 15.491, 8.452, 53.638 |
---|---|
Hunter Lab | 29.072, 44.236, -89.039 |
CIE-LAB | 34.907, 53.691, -70.185 |
CIE-LCH | 34.907, 88.367, 307.416 |
CIE-LUV | 53.81, 75.13, 0, 22.75 |
Web Safe | 6633cc |
RGB percent of color #5b31c5
CMYK percent of color #5b31c5
Text with hexadecimal color #5b31c5
This text has a font color of #5b31c5
<p style="color:#5b31c5">Text here</p>
#5b31c5 Background Color
This box has a background color of #5b31c5
<div style="background-color:#5b31c5">Text here</div>
#5b31c5 Border Color
This box has a border color of #5b31c5
<div style="border: 4px solid #5b31c5">Text here</div>
CSS codes
<p style="color:#5b31c5">Text here</p>
<div style="background-color:#5b31c5">Text here</div>
<div style="border: 4px solid #5b31c5">Text here</div>
#5b31c5 Color on white background
This is how a font and box color of #5b31c5 will look
on a white background.
#5b31c5 Color on black background
This is how a font and box color of #5b31c5 hex color will look
on a black background.