In RGB color space, #311242 hex color has a red value of 49, a green value of 18 and a blue value of 66.
In CMYK color space (used in color printing), #311242 hex color is composed of 25.76% cyan, 72.73% magenta, 0% yellow and 74.12% black.
#311242 color has a hue of 278.8 degrees, a saturation of 57.14% and a lightness of 16.5%.
#311242 hex color contains mainly BLUE.
The closest web safe color of #311242 is #330033
#311242 hex color has a decimal value of 3215938.
HEX | 311242 | #311242 |
---|---|---|
RGB | 49, 18, 66 | rgb(49, 18, 66) |
RGB Percent | 19.22, 7.06, 25.88 | rgb(19.22, 7.06, 25.88) |
CMYK | 26, 73, 0, 74 | |
HSL | 278.8°, 57.14, 16.5 | hsl(278.8, 57.14%, 16.5%) |
HSV | 278.8°, 72.7, 25.9 |
XYZ | 2.466, 1.479, 5.31 |
---|---|
Hunter Lab | 12.161, 14.912, -17.375 |
CIE-LAB | 12.474, 25.288, -23.977 |
CIE-LCH | 12.474, 34.848, 316.524 |
CIE-LUV | 25.76, 72.73, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #311242
CMYK percent of color #311242
Text with hexadecimal color #311242
This text has a font color of #311242
<p style="color:#311242">Text here</p>
#311242 Background Color
This box has a background color of #311242
<div style="background-color:#311242">Text here</div>
#311242 Border Color
This box has a border color of #311242
<div style="border: 4px solid #311242">Text here</div>
CSS codes
<p style="color:#311242">Text here</p>
<div style="background-color:#311242">Text here</div>
<div style="border: 4px solid #311242">Text here</div>
#311242 Color on white background
This is how a font and box color of #311242 will look
on a white background.
#311242 Color on black background
This is how a font and box color of #311242 hex color will look
on a black background.