In RGB color space, #310838 hex color has a red value of 49, a green value of 8 and a blue value of 56.
In CMYK color space (used in color printing), #310838 hex color is composed of 12.5% cyan, 85.71% magenta, 0% yellow and 78.04% black.
#310838 color has a hue of 291.3 degrees, a saturation of 75% and a lightness of 12.5%.
#310838 hex color contains mainly BLUE.
The closest web safe color of #310838 is #330033
#310838 hex color has a decimal value of 3213368.
HEX | 310838 | #310838 |
---|---|---|
RGB | 49, 8, 56 | rgb(49, 8, 56) |
RGB Percent | 19.22, 3.14, 21.96 | rgb(19.22, 3.14, 21.96) |
CMYK | 13, 86, 0, 78 | |
HSL | 291.3°, 75, 12.5 | hsl(291.3, 75%, 12.5%) |
HSV | 291.3°, 85.7, 22 |
XYZ | 2.067, 1.112, 3.847 |
---|---|
Hunter Lab | 10.545, 16.535, -14.248 |
CIE-LAB | 9.892, 27.961, -20.986 |
CIE-LCH | 9.892, 34.96, 323.11 |
CIE-LUV | 12.5, 85.71, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #310838
CMYK percent of color #310838
Text with hexadecimal color #310838
This text has a font color of #310838
<p style="color:#310838">Text here</p>
#310838 Background Color
This box has a background color of #310838
<div style="background-color:#310838">Text here</div>
#310838 Border Color
This box has a border color of #310838
<div style="border: 4px solid #310838">Text here</div>
CSS codes
<p style="color:#310838">Text here</p>
<div style="background-color:#310838">Text here</div>
<div style="border: 4px solid #310838">Text here</div>
#310838 Color on white background
This is how a font and box color of #310838 will look
on a white background.
#310838 Color on black background
This is how a font and box color of #310838 hex color will look
on a black background.