In RGB color space, #31315e hex color has a red value of 49, a green value of 49 and a blue value of 94.
In CMYK color space (used in color printing), #31315e hex color is composed of 47.87% cyan, 47.87% magenta, 0% yellow and 63.14% black.
#31315e color has a hue of 240 degrees, a saturation of 31.47% and a lightness of 28%.
#31315e hex color contains mainly BLUE.
The closest web safe color of #31315e is #333366
#31315e hex color has a decimal value of 3223902.
HEX | 31315e | #31315e |
---|---|---|
RGB | 49, 49, 94 | rgb(49, 49, 94) |
RGB Percent | 19.22, 19.22, 36.86 | rgb(19.22, 19.22, 36.86) |
CMYK | 48, 48, 0, 63 | |
HSL | 240°, 31.47, 28 | hsl(240, 31.47%, 28%) |
HSV | 240°, 47.9, 36.9 |
XYZ | 4.385, 3.658, 11.065 |
---|---|
Hunter Lab | 19.126, 7.454, -20.913 |
CIE-LAB | 22.507, 13.349, -26.94 |
CIE-LCH | 22.507, 30.066, 296.359 |
CIE-LUV | 47.87, 47.87, 0, 63.14 |
Web Safe | 333366 |
RGB percent of color #31315e
CMYK percent of color #31315e
Text with hexadecimal color #31315e
This text has a font color of #31315e
<p style="color:#31315e">Text here</p>
#31315e Background Color
This box has a background color of #31315e
<div style="background-color:#31315e">Text here</div>
#31315e Border Color
This box has a border color of #31315e
<div style="border: 4px solid #31315e">Text here</div>
CSS codes
<p style="color:#31315e">Text here</p>
<div style="background-color:#31315e">Text here</div>
<div style="border: 4px solid #31315e">Text here</div>
#31315e Color on white background
This is how a font and box color of #31315e will look
on a white background.
#31315e Color on black background
This is how a font and box color of #31315e hex color will look
on a black background.