In RGB color space, #31157b hex color has a red value of 49, a green value of 21 and a blue value of 123.
In CMYK color space (used in color printing), #31157b hex color is composed of 60.16% cyan, 82.93% magenta, 0% yellow and 51.76% black.
#31157b color has a hue of 256.5 degrees, a saturation of 70.83% and a lightness of 28.2%.
#31157b hex color contains mainly BLUE.
The closest web safe color of #31157b is #330066
#31157b hex color has a decimal value of 3216763.
HEX | 31157b | #31157b |
---|---|---|
RGB | 49, 21, 123 | rgb(49, 21, 123) |
RGB Percent | 19.22, 8.24, 48.24 | rgb(19.22, 8.24, 48.24) |
CMYK | 60, 83, 0, 52 | |
HSL | 256.5°, 70.83, 28.2 | hsl(256.5, 70.83%, 28.2%) |
HSV | 256.5°, 82.9, 48.2 |
XYZ | 5.11, 2.619, 18.975 |
---|---|
Hunter Lab | 16.183, 28.042, -58.189 |
CIE-LAB | 18.448, 40.226, -52.319 |
CIE-LCH | 18.448, 65.996, 307.555 |
CIE-LUV | 60.16, 82.93, 0, 51.76 |
Web Safe | 330066 |
RGB percent of color #31157b
CMYK percent of color #31157b
Text with hexadecimal color #31157b
This text has a font color of #31157b
<p style="color:#31157b">Text here</p>
#31157b Background Color
This box has a background color of #31157b
<div style="background-color:#31157b">Text here</div>
#31157b Border Color
This box has a border color of #31157b
<div style="border: 4px solid #31157b">Text here</div>
CSS codes
<p style="color:#31157b">Text here</p>
<div style="background-color:#31157b">Text here</div>
<div style="border: 4px solid #31157b">Text here</div>
#31157b Color on white background
This is how a font and box color of #31157b will look
on a white background.
#31157b Color on black background
This is how a font and box color of #31157b hex color will look
on a black background.