In RGB color space, #331b40 hex color has a red value of 51, a green value of 27 and a blue value of 64.
In CMYK color space (used in color printing), #331b40 hex color is composed of 20.31% cyan, 57.81% magenta, 0% yellow and 74.9% black.
#331b40 color has a hue of 278.9 degrees, a saturation of 40.66% and a lightness of 17.8%.
#331b40 hex color contains mainly BLUE.
The closest web safe color of #331b40 is #333333
#331b40 hex color has a decimal value of 3349312.
HEX | 331b40 | #331b40 |
---|---|---|
RGB | 51, 27, 64 | rgb(51, 27, 64) |
RGB Percent | 20, 10.59, 25.1 | rgb(20, 10.59, 25.1) |
CMYK | 20, 58, 0, 75 | |
HSL | 278.9°, 40.66, 17.8 | hsl(278.9, 40.66%, 17.8%) |
HSV | 278.9°, 57.8, 25.1 |
XYZ | 2.683, 1.858, 5.068 |
---|---|
Hunter Lab | 13.631, 11.281, -12.503 |
CIE-LAB | 14.724, 19.811, -18.971 |
CIE-LCH | 14.724, 27.429, 316.241 |
CIE-LUV | 20.31, 57.81, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #331b40
CMYK percent of color #331b40
Text with hexadecimal color #331b40
This text has a font color of #331b40
<p style="color:#331b40">Text here</p>
#331b40 Background Color
This box has a background color of #331b40
<div style="background-color:#331b40">Text here</div>
#331b40 Border Color
This box has a border color of #331b40
<div style="border: 4px solid #331b40">Text here</div>
CSS codes
<p style="color:#331b40">Text here</p>
<div style="background-color:#331b40">Text here</div>
<div style="border: 4px solid #331b40">Text here</div>
#331b40 Color on white background
This is how a font and box color of #331b40 will look
on a white background.
#331b40 Color on black background
This is how a font and box color of #331b40 hex color will look
on a black background.