In RGB color space, #312171 hex color has a red value of 49, a green value of 33 and a blue value of 113.
In CMYK color space (used in color printing), #312171 hex color is composed of 56.64% cyan, 70.8% magenta, 0% yellow and 55.69% black.
#312171 color has a hue of 252 degrees, a saturation of 54.79% and a lightness of 28.6%.
#312171 hex color contains mainly BLUE.
The closest web safe color of #312171 is #333366
#312171 hex color has a decimal value of 3219825.
HEX | 312171 | #312171 |
---|---|---|
RGB | 49, 33, 113 | rgb(49, 33, 113) |
RGB Percent | 19.22, 12.94, 44.31 | rgb(19.22, 12.94, 44.31) |
CMYK | 57, 71, 0, 56 | |
HSL | 252°, 54.79, 28.6 | hsl(252, 54.79%, 28.6%) |
HSV | 252°, 70.8, 44.3 |
XYZ | 4.791, 2.933, 15.936 |
---|---|
Hunter Lab | 17.126, 19.965, -43.182 |
CIE-LAB | 19.774, 30.503, -43.72 |
CIE-LCH | 19.774, 53.309, 304.903 |
CIE-LUV | 56.64, 70.8, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #312171
CMYK percent of color #312171
Text with hexadecimal color #312171
This text has a font color of #312171
<p style="color:#312171">Text here</p>
#312171 Background Color
This box has a background color of #312171
<div style="background-color:#312171">Text here</div>
#312171 Border Color
This box has a border color of #312171
<div style="border: 4px solid #312171">Text here</div>
CSS codes
<p style="color:#312171">Text here</p>
<div style="background-color:#312171">Text here</div>
<div style="border: 4px solid #312171">Text here</div>
#312171 Color on white background
This is how a font and box color of #312171 will look
on a white background.
#312171 Color on black background
This is how a font and box color of #312171 hex color will look
on a black background.