In RGB color space, #311138 hex color has a red value of 49, a green value of 17 and a blue value of 56.
In CMYK color space (used in color printing), #311138 hex color is composed of 12.5% cyan, 69.64% magenta, 0% yellow and 78.04% black.
#311138 color has a hue of 289.2 degrees, a saturation of 53.42% and a lightness of 14.3%.
#311138 hex color contains mainly BLUE.
The closest web safe color of #311138 is #330033
#311138 hex color has a decimal value of 3215672.
HEX | 311138 | #311138 |
---|---|---|
RGB | 49, 17, 56 | rgb(49, 17, 56) |
RGB Percent | 19.22, 6.67, 21.96 | rgb(19.22, 6.67, 21.96) |
CMYK | 13, 70, 0, 78 | |
HSL | 289.2°, 53.42, 14.3 | hsl(289.2, 53.42%, 14.3%) |
HSV | 289.2°, 69.6, 22 |
XYZ | 2.181, 1.339, 3.885 |
---|---|
Hunter Lab | 11.572, 13.394, -11.806 |
CIE-LAB | 11.546, 23.352, -18.35 |
CIE-LCH | 11.546, 29.699, 321.84 |
CIE-LUV | 12.5, 69.64, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #311138
CMYK percent of color #311138
Text with hexadecimal color #311138
This text has a font color of #311138
<p style="color:#311138">Text here</p>
#311138 Background Color
This box has a background color of #311138
<div style="background-color:#311138">Text here</div>
#311138 Border Color
This box has a border color of #311138
<div style="border: 4px solid #311138">Text here</div>
CSS codes
<p style="color:#311138">Text here</p>
<div style="background-color:#311138">Text here</div>
<div style="border: 4px solid #311138">Text here</div>
#311138 Color on white background
This is how a font and box color of #311138 will look
on a white background.
#311138 Color on black background
This is how a font and box color of #311138 hex color will look
on a black background.