In RGB color space, #310742 hex color has a red value of 49, a green value of 7 and a blue value of 66.
In CMYK color space (used in color printing), #310742 hex color is composed of 25.76% cyan, 89.39% magenta, 0% yellow and 74.12% black.
#310742 color has a hue of 282.7 degrees, a saturation of 80.82% and a lightness of 14.3%.
#310742 hex color contains mainly BLUE.
The closest web safe color of #310742 is #330033
#310742 hex color has a decimal value of 3213122.
HEX | 310742 | #310742 |
---|---|---|
RGB | 49, 7, 66 | rgb(49, 7, 66) |
RGB Percent | 19.22, 2.75, 25.88 | rgb(19.22, 2.75, 25.88) |
CMYK | 26, 89, 0, 74 | |
HSL | 282.7°, 80.82, 14.3 | hsl(282.7, 80.82%, 14.3%) |
HSV | 282.7°, 89.4, 25.9 |
XYZ | 2.326, 1.198, 5.263 |
---|---|
Hunter Lab | 10.945, 18.779, -20.848 |
CIE-LAB | 10.543, 30.757, -27.091 |
CIE-LCH | 10.543, 40.987, 318.626 |
CIE-LUV | 25.76, 89.39, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #310742
CMYK percent of color #310742
Text with hexadecimal color #310742
This text has a font color of #310742
<p style="color:#310742">Text here</p>
#310742 Background Color
This box has a background color of #310742
<div style="background-color:#310742">Text here</div>
#310742 Border Color
This box has a border color of #310742
<div style="border: 4px solid #310742">Text here</div>
CSS codes
<p style="color:#310742">Text here</p>
<div style="background-color:#310742">Text here</div>
<div style="border: 4px solid #310742">Text here</div>
#310742 Color on white background
This is how a font and box color of #310742 will look
on a white background.
#310742 Color on black background
This is how a font and box color of #310742 hex color will look
on a black background.