In RGB color space, #312daa hex color has a red value of 49, a green value of 45 and a blue value of 170.
In CMYK color space (used in color printing), #312daa hex color is composed of 71.18% cyan, 73.53% magenta, 0% yellow and 33.33% black.
#312daa color has a hue of 241.9 degrees, a saturation of 58.14% and a lightness of 42.2%.
#312daa hex color contains mainly BLUE.
The closest web safe color of #312daa is #333399
#312daa hex color has a decimal value of 3222954.
HEX | 312daa | #312daa |
---|---|---|
RGB | 49, 45, 170 | rgb(49, 45, 170) |
RGB Percent | 19.22, 17.65, 66.67 | rgb(19.22, 17.65, 66.67) |
CMYK | 71, 74, 0, 33 | |
HSL | 241.9°, 58.14, 42.2 | hsl(241.9, 58.14%, 42.2%) |
HSV | 241.9°, 73.5, 66.7 |
XYZ | 9.461, 5.432, 38.58 |
---|---|
Hunter Lab | 23.307, 31.673, -81.829 |
CIE-LAB | 27.932, 42.362, -65.78 |
CIE-LCH | 27.932, 78.24, 302.781 |
CIE-LUV | 71.18, 73.53, 0, 33.33 |
Web Safe | 333399 |
RGB percent of color #312daa
CMYK percent of color #312daa
Text with hexadecimal color #312daa
This text has a font color of #312daa
<p style="color:#312daa">Text here</p>
#312daa Background Color
This box has a background color of #312daa
<div style="background-color:#312daa">Text here</div>
#312daa Border Color
This box has a border color of #312daa
<div style="border: 4px solid #312daa">Text here</div>
CSS codes
<p style="color:#312daa">Text here</p>
<div style="background-color:#312daa">Text here</div>
<div style="border: 4px solid #312daa">Text here</div>
#312daa Color on white background
This is how a font and box color of #312daa will look
on a white background.
#312daa Color on black background
This is how a font and box color of #312daa hex color will look
on a black background.