In RGB color space, #331a4f hex color has a red value of 51, a green value of 26 and a blue value of 79.
In CMYK color space (used in color printing), #331a4f hex color is composed of 35.44% cyan, 67.09% magenta, 0% yellow and 69.02% black.
#331a4f color has a hue of 268.3 degrees, a saturation of 50.48% and a lightness of 20.6%.
#331a4f hex color contains mainly BLUE.
The closest web safe color of #331a4f is #333366
#331a4f hex color has a decimal value of 3349071.
HEX | 331a4f | #331a4f |
---|---|---|
RGB | 51, 26, 79 | rgb(51, 26, 79) |
RGB Percent | 20, 10.2, 30.98 | rgb(20, 10.2, 30.98) |
CMYK | 35, 67, 0, 69 | |
HSL | 268.3°, 50.48, 20.6 | hsl(268.3, 50.48%, 20.6%) |
HSV | 268.3°, 67.1, 31 |
XYZ | 3.146, 2.007, 7.619 |
---|---|
Hunter Lab | 14.167, 14.847, -21.97 |
CIE-LAB | 15.524, 24.659, -28.064 |
CIE-LCH | 15.524, 37.358, 311.305 |
CIE-LUV | 35.44, 67.09, 0, 69.02 |
Web Safe | 333366 |
RGB percent of color #331a4f
CMYK percent of color #331a4f
Text with hexadecimal color #331a4f
This text has a font color of #331a4f
<p style="color:#331a4f">Text here</p>
#331a4f Background Color
This box has a background color of #331a4f
<div style="background-color:#331a4f">Text here</div>
#331a4f Border Color
This box has a border color of #331a4f
<div style="border: 4px solid #331a4f">Text here</div>
CSS codes
<p style="color:#331a4f">Text here</p>
<div style="background-color:#331a4f">Text here</div>
<div style="border: 4px solid #331a4f">Text here</div>
#331a4f Color on white background
This is how a font and box color of #331a4f will look
on a white background.
#331a4f Color on black background
This is how a font and box color of #331a4f hex color will look
on a black background.