In RGB color space, #312140 hex color has a red value of 49, a green value of 33 and a blue value of 64.
In CMYK color space (used in color printing), #312140 hex color is composed of 23.44% cyan, 48.44% magenta, 0% yellow and 74.9% black.
#312140 color has a hue of 271 degrees, a saturation of 31.96% and a lightness of 19%.
#312140 hex color contains mainly BLUE.
The closest web safe color of #312140 is #333333
#312140 hex color has a decimal value of 3219776.
HEX | 312140 | #312140 |
---|---|---|
RGB | 49, 33, 64 | rgb(49, 33, 64) |
RGB Percent | 19.22, 12.94, 25.1 | rgb(19.22, 12.94, 25.1) |
CMYK | 23, 48, 0, 75 | |
HSL | 271°, 31.96, 19 | hsl(271, 31.96%, 19%) |
HSV | 271°, 48.4, 25.1 |
XYZ | 2.736, 2.111, 5.114 |
---|---|
Hunter Lab | 14.529, 8.187, -10.698 |
CIE-LAB | 16.059, 15.05, -16.885 |
CIE-LCH | 16.059, 22.619, 311.711 |
CIE-LUV | 23.44, 48.44, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #312140
CMYK percent of color #312140
Text with hexadecimal color #312140
This text has a font color of #312140
<p style="color:#312140">Text here</p>
#312140 Background Color
This box has a background color of #312140
<div style="background-color:#312140">Text here</div>
#312140 Border Color
This box has a border color of #312140
<div style="border: 4px solid #312140">Text here</div>
CSS codes
<p style="color:#312140">Text here</p>
<div style="background-color:#312140">Text here</div>
<div style="border: 4px solid #312140">Text here</div>
#312140 Color on white background
This is how a font and box color of #312140 will look
on a white background.
#312140 Color on black background
This is how a font and box color of #312140 hex color will look
on a black background.