In RGB color space, #31217f hex color has a red value of 49, a green value of 33 and a blue value of 127.
In CMYK color space (used in color printing), #31217f hex color is composed of 61.42% cyan, 74.02% magenta, 0% yellow and 50.2% black.
#31217f color has a hue of 250.2 degrees, a saturation of 58.75% and a lightness of 31.4%.
#31217f hex color contains mainly BLUE.
The closest web safe color of #31217f is #333366
#31217f hex color has a decimal value of 3219839.
HEX | 31217f | #31217f |
---|---|---|
RGB | 49, 33, 127 | rgb(49, 33, 127) |
RGB Percent | 19.22, 12.94, 49.8 | rgb(19.22, 12.94, 49.8) |
CMYK | 61, 74, 0, 50 | |
HSL | 250.2°, 58.75, 31.4 | hsl(250.2, 58.75%, 31.4%) |
HSV | 250.2°, 74, 49.8 |
XYZ | 5.641, 3.273, 20.413 |
---|---|
Hunter Lab | 18.091, 23.997, -54.234 |
CIE-LAB | 21.106, 35.095, -50.491 |
CIE-LCH | 21.106, 61.49, 304.802 |
CIE-LUV | 61.42, 74.02, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #31217f
CMYK percent of color #31217f
Text with hexadecimal color #31217f
This text has a font color of #31217f
<p style="color:#31217f">Text here</p>
#31217f Background Color
This box has a background color of #31217f
<div style="background-color:#31217f">Text here</div>
#31217f Border Color
This box has a border color of #31217f
<div style="border: 4px solid #31217f">Text here</div>
CSS codes
<p style="color:#31217f">Text here</p>
<div style="background-color:#31217f">Text here</div>
<div style="border: 4px solid #31217f">Text here</div>
#31217f Color on white background
This is how a font and box color of #31217f will look
on a white background.
#31217f Color on black background
This is how a font and box color of #31217f hex color will look
on a black background.