In RGB color space, #5f31cd hex color has a red value of 95, a green value of 49 and a blue value of 205.
In CMYK color space (used in color printing), #5f31cd hex color is composed of 53.66% cyan, 76.1% magenta, 0% yellow and 19.61% black.
#5f31cd color has a hue of 257.7 degrees, a saturation of 61.42% and a lightness of 49.8%.
#5f31cd hex color contains mainly BLUE.
The closest web safe color of #5f31cd is #6633cc
#5f31cd hex color has a decimal value of 6238669.
HEX | 5f31cd | #5f31cd |
---|---|---|
RGB | 95, 49, 205 | rgb(95, 49, 205) |
RGB Percent | 37.25, 19.22, 80.39 | rgb(37.25, 19.22, 80.39) |
CMYK | 54, 76, 0, 20 | |
HSL | 257.7°, 61.42, 49.8 | hsl(257.7, 61.42%, 49.8%) |
HSV | 257.7°, 76.1, 80.4 |
XYZ | 16.837, 9.037, 58.615 |
---|---|
Hunter Lab | 30.062, 47.367, -94.562 |
CIE-LAB | 36.055, 56.433, -72.946 |
CIE-LCH | 36.055, 92.227, 307.727 |
CIE-LUV | 53.66, 76.1, 0, 19.61 |
Web Safe | 6633cc |
RGB percent of color #5f31cd
CMYK percent of color #5f31cd
Text with hexadecimal color #5f31cd
This text has a font color of #5f31cd
<p style="color:#5f31cd">Text here</p>
#5f31cd Background Color
This box has a background color of #5f31cd
<div style="background-color:#5f31cd">Text here</div>
#5f31cd Border Color
This box has a border color of #5f31cd
<div style="border: 4px solid #5f31cd">Text here</div>
CSS codes
<p style="color:#5f31cd">Text here</p>
<div style="background-color:#5f31cd">Text here</div>
<div style="border: 4px solid #5f31cd">Text here</div>
#5f31cd Color on white background
This is how a font and box color of #5f31cd will look
on a white background.
#5f31cd Color on black background
This is how a font and box color of #5f31cd hex color will look
on a black background.