In RGB color space, #310542 hex color has a red value of 49, a green value of 5 and a blue value of 66.
In CMYK color space (used in color printing), #310542 hex color is composed of 25.76% cyan, 92.42% magenta, 0% yellow and 74.12% black.
#310542 color has a hue of 283.3 degrees, a saturation of 85.92% and a lightness of 13.9%.
#310542 hex color contains mainly BLUE.
The closest web safe color of #310542 is #330033
#310542 hex color has a decimal value of 3212610.
HEX | 310542 | #310542 |
---|---|---|
RGB | 49, 5, 66 | rgb(49, 5, 66) |
RGB Percent | 19.22, 1.96, 25.88 | rgb(19.22, 1.96, 25.88) |
CMYK | 26, 92, 0, 74 | |
HSL | 283.3°, 85.92, 13.9 | hsl(283.3, 85.92%, 13.9%) |
HSV | 283.3°, 92.4, 25.9 |
XYZ | 2.304, 1.155, 5.256 |
---|---|
Hunter Lab | 10.747, 19.46, -21.474 |
CIE-LAB | 10.221, 31.683, -27.613 |
CIE-LCH | 10.221, 42.027, 318.927 |
CIE-LUV | 25.76, 92.42, 0, 74.12 |
Web Safe | 330033 |
RGB percent of color #310542
CMYK percent of color #310542
Text with hexadecimal color #310542
This text has a font color of #310542
<p style="color:#310542">Text here</p>
#310542 Background Color
This box has a background color of #310542
<div style="background-color:#310542">Text here</div>
#310542 Border Color
This box has a border color of #310542
<div style="border: 4px solid #310542">Text here</div>
CSS codes
<p style="color:#310542">Text here</p>
<div style="background-color:#310542">Text here</div>
<div style="border: 4px solid #310542">Text here</div>
#310542 Color on white background
This is how a font and box color of #310542 will look
on a white background.
#310542 Color on black background
This is how a font and box color of #310542 hex color will look
on a black background.