In RGB color space, #312542 hex color has a red value of 49, a green value of 37 and a blue value of 66.
In CMYK color space (used in color printing), #312542 hex color is composed of 25.76% cyan, 43.94% magenta, 0% yellow and 74.12% black.
#312542 color has a hue of 264.8 degrees, a saturation of 28.16% and a lightness of 20.2%.
#312542 hex color contains mainly BLUE.
The closest web safe color of #312542 is #333333
#312542 hex color has a decimal value of 3220802.
HEX | 312542 | #312542 |
---|---|---|
RGB | 49, 37, 66 | rgb(49, 37, 66) |
RGB Percent | 19.22, 14.51, 25.88 | rgb(19.22, 14.51, 25.88) |
CMYK | 26, 44, 0, 74 | |
HSL | 264.8°, 28.16, 20.2 | hsl(264.8, 28.16%, 20.2%) |
HSV | 264.8°, 43.9, 25.9 |
XYZ | 2.912, 2.369, 5.458 |
---|---|
Hunter Lab | 15.392, 6.836, -10.251 |
CIE-LAB | 17.316, 12.853, -16.303 |
CIE-LCH | 17.316, 20.76, 308.252 |
CIE-LUV | 25.76, 43.94, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #312542
CMYK percent of color #312542
Text with hexadecimal color #312542
This text has a font color of #312542
<p style="color:#312542">Text here</p>
#312542 Background Color
This box has a background color of #312542
<div style="background-color:#312542">Text here</div>
#312542 Border Color
This box has a border color of #312542
<div style="border: 4px solid #312542">Text here</div>
CSS codes
<p style="color:#312542">Text here</p>
<div style="background-color:#312542">Text here</div>
<div style="border: 4px solid #312542">Text here</div>
#312542 Color on white background
This is how a font and box color of #312542 will look
on a white background.
#312542 Color on black background
This is how a font and box color of #312542 hex color will look
on a black background.