In RGB color space, #331f40 hex color has a red value of 51, a green value of 31 and a blue value of 64.
In CMYK color space (used in color printing), #331f40 hex color is composed of 20.31% cyan, 51.56% magenta, 0% yellow and 74.9% black.
#331f40 color has a hue of 276.4 degrees, a saturation of 34.74% and a lightness of 18.6%.
#331f40 hex color contains mainly BLUE.
The closest web safe color of #331f40 is #333333
#331f40 hex color has a decimal value of 3350336.
HEX | 331f40 | #331f40 |
---|---|---|
RGB | 51, 31, 64 | rgb(51, 31, 64) |
RGB Percent | 20, 12.16, 25.1 | rgb(20, 12.16, 25.1) |
CMYK | 20, 52, 0, 75 | |
HSL | 276.4°, 34.74, 18.6 | hsl(276.4, 34.74%, 18.6%) |
HSV | 276.4°, 51.6, 25.1 |
XYZ | 2.781, 2.054, 5.1 |
---|---|
Hunter Lab | 14.332, 9.556, -11.066 |
CIE-LAB | 15.768, 17.141, -17.322 |
CIE-LCH | 15.768, 24.369, 314.699 |
CIE-LUV | 20.31, 51.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #331f40
CMYK percent of color #331f40
Text with hexadecimal color #331f40
This text has a font color of #331f40
<p style="color:#331f40">Text here</p>
#331f40 Background Color
This box has a background color of #331f40
<div style="background-color:#331f40">Text here</div>
#331f40 Border Color
This box has a border color of #331f40
<div style="border: 4px solid #331f40">Text here</div>
CSS codes
<p style="color:#331f40">Text here</p>
<div style="background-color:#331f40">Text here</div>
<div style="border: 4px solid #331f40">Text here</div>
#331f40 Color on white background
This is how a font and box color of #331f40 will look
on a white background.
#331f40 Color on black background
This is how a font and box color of #331f40 hex color will look
on a black background.