In RGB color space, #311158 hex color has a red value of 49, a green value of 17 and a blue value of 88.
In CMYK color space (used in color printing), #311158 hex color is composed of 44.32% cyan, 80.68% magenta, 0% yellow and 65.49% black.
#311158 color has a hue of 267 degrees, a saturation of 67.62% and a lightness of 20.6%.
#311158 hex color contains mainly BLUE.
The closest web safe color of #311158 is #330066
#311158 hex color has a decimal value of 3215704.
HEX | 311158 | #311158 |
---|---|---|
RGB | 49, 17, 88 | rgb(49, 17, 88) |
RGB Percent | 19.22, 6.67, 34.51 | rgb(19.22, 6.67, 34.51) |
CMYK | 44, 81, 0, 65 | |
HSL | 267°, 67.62, 20.6 | hsl(267, 67.62%, 20.6%) |
HSV | 267°, 80.7, 34.5 |
XYZ | 3.229, 1.758, 9.402 |
---|---|
Hunter Lab | 13.259, 20.268, -32.762 |
CIE-LAB | 14.162, 31.927, -36.396 |
CIE-LCH | 14.162, 48.415, 311.258 |
CIE-LUV | 44.32, 80.68, 0, 65.49 |
Web Safe | 330066 |
RGB percent of color #311158
CMYK percent of color #311158
Text with hexadecimal color #311158
This text has a font color of #311158
<p style="color:#311158">Text here</p>
#311158 Background Color
This box has a background color of #311158
<div style="background-color:#311158">Text here</div>
#311158 Border Color
This box has a border color of #311158
<div style="border: 4px solid #311158">Text here</div>
CSS codes
<p style="color:#311158">Text here</p>
<div style="background-color:#311158">Text here</div>
<div style="border: 4px solid #311158">Text here</div>
#311158 Color on white background
This is how a font and box color of #311158 will look
on a white background.
#311158 Color on black background
This is how a font and box color of #311158 hex color will look
on a black background.