In RGB color space, #31318a hex color has a red value of 49, a green value of 49 and a blue value of 138.
In CMYK color space (used in color printing), #31318a hex color is composed of 64.49% cyan, 64.49% magenta, 0% yellow and 45.88% black.
#31318a color has a hue of 240 degrees, a saturation of 47.59% and a lightness of 36.7%.
#31318a hex color contains mainly BLUE.
The closest web safe color of #31318a is #333399
#31318a hex color has a decimal value of 3223946.
HEX | 31318a | #31318a |
---|---|---|
RGB | 49, 49, 138 | rgb(49, 49, 138) |
RGB Percent | 19.22, 19.22, 54.12 | rgb(19.22, 19.22, 54.12) |
CMYK | 64, 64, 0, 46 | |
HSL | 240°, 47.59, 36.7 | hsl(240, 47.59%, 36.7%) |
HSV | 240°, 64.5, 54.1 |
XYZ | 6.952, 4.685, 24.583 |
---|---|
Hunter Lab | 21.645, 19.453, -52.187 |
CIE-LAB | 25.818, 28.854, -49.684 |
CIE-LCH | 25.818, 57.455, 300.146 |
CIE-LUV | 64.49, 64.49, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #31318a
CMYK percent of color #31318a
Text with hexadecimal color #31318a
This text has a font color of #31318a
<p style="color:#31318a">Text here</p>
#31318a Background Color
This box has a background color of #31318a
<div style="background-color:#31318a">Text here</div>
#31318a Border Color
This box has a border color of #31318a
<div style="border: 4px solid #31318a">Text here</div>
CSS codes
<p style="color:#31318a">Text here</p>
<div style="background-color:#31318a">Text here</div>
<div style="border: 4px solid #31318a">Text here</div>
#31318a Color on white background
This is how a font and box color of #31318a will look
on a white background.
#31318a Color on black background
This is how a font and box color of #31318a hex color will look
on a black background.