In RGB color space, #331f8d hex color has a red value of 51, a green value of 31 and a blue value of 141.
In CMYK color space (used in color printing), #331f8d hex color is composed of 63.83% cyan, 78.01% magenta, 0% yellow and 44.71% black.
#331f8d color has a hue of 250.9 degrees, a saturation of 63.95% and a lightness of 33.7%.
#331f8d hex color contains mainly BLUE.
The closest web safe color of #331f8d is #333399
#331f8d hex color has a decimal value of 3350413.
HEX | 331f8d | #331f8d |
---|---|---|
RGB | 51, 31, 141 | rgb(51, 31, 141) |
RGB Percent | 20, 12.16, 55.29 | rgb(20, 12.16, 55.29) |
CMYK | 64, 78, 0, 45 | |
HSL | 250.9°, 63.95, 33.7 | hsl(250.9, 63.95%, 33.7%) |
HSV | 250.9°, 78, 55.3 |
XYZ | 6.663, 3.607, 25.544 |
---|---|
Hunter Lab | 18.992, 29.387, -66.449 |
CIE-LAB | 22.327, 40.961, -57.269 |
CIE-LCH | 22.327, 70.41, 305.574 |
CIE-LUV | 63.83, 78.01, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #331f8d
CMYK percent of color #331f8d
Text with hexadecimal color #331f8d
This text has a font color of #331f8d
<p style="color:#331f8d">Text here</p>
#331f8d Background Color
This box has a background color of #331f8d
<div style="background-color:#331f8d">Text here</div>
#331f8d Border Color
This box has a border color of #331f8d
<div style="border: 4px solid #331f8d">Text here</div>
CSS codes
<p style="color:#331f8d">Text here</p>
<div style="background-color:#331f8d">Text here</div>
<div style="border: 4px solid #331f8d">Text here</div>
#331f8d Color on white background
This is how a font and box color of #331f8d will look
on a white background.
#331f8d Color on black background
This is how a font and box color of #331f8d hex color will look
on a black background.