In RGB color space, #331f42 hex color has a red value of 51, a green value of 31 and a blue value of 66.
In CMYK color space (used in color printing), #331f42 hex color is composed of 22.73% cyan, 53.03% magenta, 0% yellow and 74.12% black.
#331f42 color has a hue of 274.3 degrees, a saturation of 36.08% and a lightness of 19%.
#331f42 hex color contains mainly BLUE.
The closest web safe color of #331f42 is #333333
#331f42 hex color has a decimal value of 3350338.
HEX | 331f42 | #331f42 |
---|---|---|
RGB | 51, 31, 66 | rgb(51, 31, 66) |
RGB Percent | 20, 12.16, 25.88 | rgb(20, 12.16, 25.88) |
CMYK | 23, 53, 0, 74 | |
HSL | 274.3°, 36.08, 19 | hsl(274.3, 36.08%, 19%) |
HSV | 274.3°, 53, 25.9 |
XYZ | 2.839, 2.077, 5.406 |
---|---|
Hunter Lab | 14.412, 9.942, -12.152 |
CIE-LAB | 15.886, 17.695, -18.532 |
CIE-LCH | 15.886, 25.623, 313.676 |
CIE-LUV | 22.73, 53.03, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #331f42
CMYK percent of color #331f42
Text with hexadecimal color #331f42
This text has a font color of #331f42
<p style="color:#331f42">Text here</p>
#331f42 Background Color
This box has a background color of #331f42
<div style="background-color:#331f42">Text here</div>
#331f42 Border Color
This box has a border color of #331f42
<div style="border: 4px solid #331f42">Text here</div>
CSS codes
<p style="color:#331f42">Text here</p>
<div style="background-color:#331f42">Text here</div>
<div style="border: 4px solid #331f42">Text here</div>
#331f42 Color on white background
This is how a font and box color of #331f42 will look
on a white background.
#331f42 Color on black background
This is how a font and box color of #331f42 hex color will look
on a black background.