In RGB color space, #312042 hex color has a red value of 49, a green value of 32 and a blue value of 66.
In CMYK color space (used in color printing), #312042 hex color is composed of 25.76% cyan, 51.52% magenta, 0% yellow and 74.12% black.
#312042 color has a hue of 270 degrees, a saturation of 34.69% and a lightness of 19.2%.
#312042 hex color contains mainly BLUE.
The closest web safe color of #312042 is #333333
#312042 hex color has a decimal value of 3219522.
HEX | 312042 | #312042 |
---|---|---|
RGB | 49, 32, 66 | rgb(49, 32, 66) |
RGB Percent | 19.22, 12.55, 25.88 | rgb(19.22, 12.55, 25.88) |
CMYK | 26, 52, 0, 74 | |
HSL | 270°, 34.69, 19.2 | hsl(270, 34.69%, 19.2%) |
HSV | 270°, 51.5, 25.9 |
XYZ | 2.767, 2.079, 5.41 |
---|---|
Hunter Lab | 14.419, 9.022, -12.153 |
CIE-LAB | 15.896, 16.328, -18.532 |
CIE-LCH | 15.896, 24.699, 311.382 |
CIE-LUV | 25.76, 51.52, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #312042
CMYK percent of color #312042
Text with hexadecimal color #312042
This text has a font color of #312042
<p style="color:#312042">Text here</p>
#312042 Background Color
This box has a background color of #312042
<div style="background-color:#312042">Text here</div>
#312042 Border Color
This box has a border color of #312042
<div style="border: 4px solid #312042">Text here</div>
CSS codes
<p style="color:#312042">Text here</p>
<div style="background-color:#312042">Text here</div>
<div style="border: 4px solid #312042">Text here</div>
#312042 Color on white background
This is how a font and box color of #312042 will look
on a white background.
#312042 Color on black background
This is how a font and box color of #312042 hex color will look
on a black background.