In RGB color space, #31257d hex color has a red value of 49, a green value of 37 and a blue value of 125.
In CMYK color space (used in color printing), #31257d hex color is composed of 60.8% cyan, 70.4% magenta, 0% yellow and 50.98% black.
#31257d color has a hue of 248.2 degrees, a saturation of 54.32% and a lightness of 31.8%.
#31257d hex color contains mainly BLUE.
The closest web safe color of #31257d is #333366
#31257d hex color has a decimal value of 3220861.
HEX | 31257d | #31257d |
---|---|---|
RGB | 49, 37, 125 | rgb(49, 37, 125) |
RGB Percent | 19.22, 14.51, 49.02 | rgb(19.22, 14.51, 49.02) |
CMYK | 61, 70, 0, 51 | |
HSL | 248.2°, 54.32, 31.8 | hsl(248.2, 54.32%, 31.8%) |
HSV | 248.2°, 70.4, 49 |
XYZ | 5.63, 3.457, 19.773 |
---|---|
Hunter Lab | 18.593, 21.512, -50.038 |
CIE-LAB | 21.788, 32.026, -48.105 |
CIE-LCH | 21.788, 57.791, 303.654 |
CIE-LUV | 60.8, 70.4, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #31257d
CMYK percent of color #31257d
Text with hexadecimal color #31257d
This text has a font color of #31257d
<p style="color:#31257d">Text here</p>
#31257d Background Color
This box has a background color of #31257d
<div style="background-color:#31257d">Text here</div>
#31257d Border Color
This box has a border color of #31257d
<div style="border: 4px solid #31257d">Text here</div>
CSS codes
<p style="color:#31257d">Text here</p>
<div style="background-color:#31257d">Text here</div>
<div style="border: 4px solid #31257d">Text here</div>
#31257d Color on white background
This is how a font and box color of #31257d will look
on a white background.
#31257d Color on black background
This is how a font and box color of #31257d hex color will look
on a black background.