In RGB color space, #310240 hex color has a red value of 49, a green value of 2 and a blue value of 64.
In CMYK color space (used in color printing), #310240 hex color is composed of 23.44% cyan, 96.88% magenta, 0% yellow and 74.9% black.
#310240 color has a hue of 285.5 degrees, a saturation of 93.94% and a lightness of 12.9%.
#310240 hex color contains mainly BLUE.
The closest web safe color of #310240 is #330033
#310240 hex color has a decimal value of 3211840.
HEX | 310240 | #310240 |
---|---|---|
RGB | 49, 2, 64 | rgb(49, 2, 64) |
RGB Percent | 19.22, 0.78, 25.1 | rgb(19.22, 0.78, 25.1) |
CMYK | 23, 97, 0, 75 | |
HSL | 285.5°, 93.94, 12.9 | hsl(285.5, 93.94%, 12.9%) |
HSV | 285.5°, 96.9, 25.1 |
XYZ | 2.214, 1.067, 4.94 |
---|---|
Hunter Lab | 10.33, 20.182, -21.124 |
CIE-LAB | 9.538, 32.72, -27.302 |
CIE-LCH | 9.538, 42.615, 320.158 |
CIE-LUV | 23.44, 96.88, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #310240
CMYK percent of color #310240
Text with hexadecimal color #310240
This text has a font color of #310240
<p style="color:#310240">Text here</p>
#310240 Background Color
This box has a background color of #310240
<div style="background-color:#310240">Text here</div>
#310240 Border Color
This box has a border color of #310240
<div style="border: 4px solid #310240">Text here</div>
CSS codes
<p style="color:#310240">Text here</p>
<div style="background-color:#310240">Text here</div>
<div style="border: 4px solid #310240">Text here</div>
#310240 Color on white background
This is how a font and box color of #310240 will look
on a white background.
#310240 Color on black background
This is how a font and box color of #310240 hex color will look
on a black background.