In RGB color space, #31138f hex color has a red value of 49, a green value of 19 and a blue value of 143.
In CMYK color space (used in color printing), #31138f hex color is composed of 65.73% cyan, 86.71% magenta, 0% yellow and 43.92% black.
#31138f color has a hue of 254.5 degrees, a saturation of 76.54% and a lightness of 31.8%.
#31138f hex color contains mainly BLUE.
The closest web safe color of #31138f is #330099
#31138f hex color has a decimal value of 3216271.
HEX | 31138f | #31138f |
---|---|---|
RGB | 49, 19, 143 | rgb(49, 19, 143) |
RGB Percent | 19.22, 7.45, 56.08 | rgb(19.22, 7.45, 56.08) |
CMYK | 66, 87, 0, 44 | |
HSL | 254.5°, 76.54, 31.8 | hsl(254.5, 76.54%, 31.8%) |
HSV | 254.5°, 86.7, 56.1 |
XYZ | 6.457, 3.102, 26.245 |
---|---|
Hunter Lab | 17.612, 34.619, -76.021 |
CIE-LAB | 20.448, 46.915, -61.627 |
CIE-LCH | 20.448, 77.453, 307.281 |
CIE-LUV | 65.73, 86.71, 0, 43.92 |
Web Safe | 330099 |
RGB percent of color #31138f
CMYK percent of color #31138f
Text with hexadecimal color #31138f
This text has a font color of #31138f
<p style="color:#31138f">Text here</p>
#31138f Background Color
This box has a background color of #31138f
<div style="background-color:#31138f">Text here</div>
#31138f Border Color
This box has a border color of #31138f
<div style="border: 4px solid #31138f">Text here</div>
CSS codes
<p style="color:#31138f">Text here</p>
<div style="background-color:#31138f">Text here</div>
<div style="border: 4px solid #31138f">Text here</div>
#31138f Color on white background
This is how a font and box color of #31138f will look
on a white background.
#31138f Color on black background
This is how a font and box color of #31138f hex color will look
on a black background.