In RGB color space, #311942 hex color has a red value of 49, a green value of 25 and a blue value of 66.
In CMYK color space (used in color printing), #311942 hex color is composed of 25.76% cyan, 62.12% magenta, 0% yellow and 74.12% black.
#311942 color has a hue of 275.1 degrees, a saturation of 45.05% and a lightness of 17.8%.
#311942 hex color contains mainly BLUE.
The closest web safe color of #311942 is #330033
#311942 hex color has a decimal value of 3217730.
HEX | 311942 | #311942 |
---|---|---|
RGB | 49, 25, 66 | rgb(49, 25, 66) |
RGB Percent | 19.22, 9.8, 25.88 | rgb(19.22, 9.8, 25.88) |
CMYK | 26, 62, 0, 74 | |
HSL | 275.1°, 45.05, 17.8 | hsl(275.1, 45.05%, 17.8%) |
HSV | 275.1°, 62.1, 25.9 |
XYZ | 2.598, 1.742, 5.354 |
---|---|
Hunter Lab | 13.198, 12.039, -14.812 |
CIE-LAB | 14.071, 21.001, -21.426 |
CIE-LCH | 14.071, 30.002, 314.426 |
CIE-LUV | 25.76, 62.12, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #311942
CMYK percent of color #311942
Text with hexadecimal color #311942
This text has a font color of #311942
<p style="color:#311942">Text here</p>
#311942 Background Color
This box has a background color of #311942
<div style="background-color:#311942">Text here</div>
#311942 Border Color
This box has a border color of #311942
<div style="border: 4px solid #311942">Text here</div>
CSS codes
<p style="color:#311942">Text here</p>
<div style="background-color:#311942">Text here</div>
<div style="border: 4px solid #311942">Text here</div>
#311942 Color on white background
This is how a font and box color of #311942 will look
on a white background.
#311942 Color on black background
This is how a font and box color of #311942 hex color will look
on a black background.