In RGB color space, #31318c hex color has a red value of 49, a green value of 49 and a blue value of 140.
In CMYK color space (used in color printing), #31318c hex color is composed of 65% cyan, 65% magenta, 0% yellow and 45.1% black.
#31318c color has a hue of 240 degrees, a saturation of 48.15% and a lightness of 37.1%.
#31318c hex color contains mainly BLUE.
The closest web safe color of #31318c is #333399
#31318c hex color has a decimal value of 3223948.
HEX | 31318c | #31318c |
---|---|---|
RGB | 49, 49, 140 | rgb(49, 49, 140) |
RGB Percent | 19.22, 19.22, 54.9 | rgb(19.22, 19.22, 54.9) |
CMYK | 65, 65, 0, 45 | |
HSL | 240°, 48.15, 37.1 | hsl(240, 48.15%, 37.1%) |
HSV | 240°, 65, 54.9 |
XYZ | 7.099, 4.743, 25.352 |
---|---|
Hunter Lab | 21.778, 20.072, -53.774 |
CIE-LAB | 25.99, 29.577, -50.644 |
CIE-LCH | 25.99, 58.648, 300.286 |
CIE-LUV | 65, 65, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #31318c
CMYK percent of color #31318c
Text with hexadecimal color #31318c
This text has a font color of #31318c
<p style="color:#31318c">Text here</p>
#31318c Background Color
This box has a background color of #31318c
<div style="background-color:#31318c">Text here</div>
#31318c Border Color
This box has a border color of #31318c
<div style="border: 4px solid #31318c">Text here</div>
CSS codes
<p style="color:#31318c">Text here</p>
<div style="background-color:#31318c">Text here</div>
<div style="border: 4px solid #31318c">Text here</div>
#31318c Color on white background
This is how a font and box color of #31318c will look
on a white background.
#31318c Color on black background
This is how a font and box color of #31318c hex color will look
on a black background.