In RGB color space, #310c8d hex color has a red value of 49, a green value of 12 and a blue value of 141.
In CMYK color space (used in color printing), #310c8d hex color is composed of 65.25% cyan, 91.49% magenta, 0% yellow and 44.71% black.
#310c8d color has a hue of 257.2 degrees, a saturation of 84.31% and a lightness of 30%.
#310c8d hex color contains mainly BLUE.
The closest web safe color of #310c8d is #330099
#310c8d hex color has a decimal value of 3214477.
HEX | 310c8d | #310c8d |
---|---|---|
RGB | 49, 12, 141 | rgb(49, 12, 141) |
RGB Percent | 19.22, 4.71, 55.29 | rgb(19.22, 4.71, 55.29) |
CMYK | 65, 91, 0, 45 | |
HSL | 257.2°, 84.31, 30 | hsl(257.2, 84.31%, 30%) |
HSV | 257.2°, 91.5, 55.3 |
XYZ | 6.206, 2.839, 25.42 |
---|---|
Hunter Lab | 16.849, 36.259, -77.654 |
CIE-LAB | 19.387, 48.808, -62.138 |
CIE-LCH | 19.387, 79.015, 308.149 |
CIE-LUV | 65.25, 91.49, 0, 44.71 |
Web Safe | 330099 |
RGB percent of color #310c8d
CMYK percent of color #310c8d
Text with hexadecimal color #310c8d
This text has a font color of #310c8d
<p style="color:#310c8d">Text here</p>
#310c8d Background Color
This box has a background color of #310c8d
<div style="background-color:#310c8d">Text here</div>
#310c8d Border Color
This box has a border color of #310c8d
<div style="border: 4px solid #310c8d">Text here</div>
CSS codes
<p style="color:#310c8d">Text here</p>
<div style="background-color:#310c8d">Text here</div>
<div style="border: 4px solid #310c8d">Text here</div>
#310c8d Color on white background
This is how a font and box color of #310c8d will look
on a white background.
#310c8d Color on black background
This is how a font and box color of #310c8d hex color will look
on a black background.