In RGB color space, #312040 hex color has a red value of 49, a green value of 32 and a blue value of 64.
In CMYK color space (used in color printing), #312040 hex color is composed of 23.44% cyan, 50% magenta, 0% yellow and 74.9% black.
#312040 color has a hue of 271.9 degrees, a saturation of 33.33% and a lightness of 18.8%.
#312040 hex color contains mainly BLUE.
The closest web safe color of #312040 is #333333
#312040 hex color has a decimal value of 3219520.
HEX | 312040 | #312040 |
---|---|---|
RGB | 49, 32, 64 | rgb(49, 32, 64) |
RGB Percent | 19.22, 12.55, 25.1 | rgb(19.22, 12.55, 25.1) |
CMYK | 23, 50, 0, 75 | |
HSL | 271.9°, 33.33, 18.8 | hsl(271.9, 33.33%, 18.8%) |
HSV | 271.9°, 50, 25.1 |
XYZ | 2.709, 2.056, 5.105 |
---|---|
Hunter Lab | 14.339, 8.631, -11.072 |
CIE-LAB | 15.778, 15.755, -17.327 |
CIE-LCH | 15.778, 23.419, 312.279 |
CIE-LUV | 23.44, 50, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #312040
CMYK percent of color #312040
Text with hexadecimal color #312040
This text has a font color of #312040
<p style="color:#312040">Text here</p>
#312040 Background Color
This box has a background color of #312040
<div style="background-color:#312040">Text here</div>
#312040 Border Color
This box has a border color of #312040
<div style="border: 4px solid #312040">Text here</div>
CSS codes
<p style="color:#312040">Text here</p>
<div style="background-color:#312040">Text here</div>
<div style="border: 4px solid #312040">Text here</div>
#312040 Color on white background
This is how a font and box color of #312040 will look
on a white background.
#312040 Color on black background
This is how a font and box color of #312040 hex color will look
on a black background.