In RGB color space, #311840 hex color has a red value of 49, a green value of 24 and a blue value of 64.
In CMYK color space (used in color printing), #311840 hex color is composed of 23.44% cyan, 62.5% magenta, 0% yellow and 74.9% black.
#311840 color has a hue of 277.5 degrees, a saturation of 45.45% and a lightness of 17.3%.
#311840 hex color contains mainly BLUE.
The closest web safe color of #311840 is #330033
#311840 hex color has a decimal value of 3217472.
HEX | 311840 | #311840 |
---|---|---|
RGB | 49, 24, 64 | rgb(49, 24, 64) |
RGB Percent | 19.22, 9.41, 25.1 | rgb(19.22, 9.41, 25.1) |
CMYK | 23, 63, 0, 75 | |
HSL | 277.5°, 45.45, 17.3 | hsl(277.5, 45.45%, 17.3%) |
HSV | 277.5°, 62.5, 25.1 |
XYZ | 2.519, 1.676, 5.041 |
---|---|
Hunter Lab | 12.946, 12.076, -14.024 |
CIE-LAB | 13.686, 21.117, -20.633 |
CIE-LCH | 13.686, 29.524, 315.664 |
CIE-LUV | 23.44, 62.5, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #311840
CMYK percent of color #311840
Text with hexadecimal color #311840
This text has a font color of #311840
<p style="color:#311840">Text here</p>
#311840 Background Color
This box has a background color of #311840
<div style="background-color:#311840">Text here</div>
#311840 Border Color
This box has a border color of #311840
<div style="border: 4px solid #311840">Text here</div>
CSS codes
<p style="color:#311840">Text here</p>
<div style="background-color:#311840">Text here</div>
<div style="border: 4px solid #311840">Text here</div>
#311840 Color on white background
This is how a font and box color of #311840 will look
on a white background.
#311840 Color on black background
This is how a font and box color of #311840 hex color will look
on a black background.