In RGB color space, #331238 hex color has a red value of 51, a green value of 18 and a blue value of 56.
In CMYK color space (used in color printing), #331238 hex color is composed of 8.93% cyan, 67.86% magenta, 0% yellow and 78.04% black.
#331238 color has a hue of 292.1 degrees, a saturation of 51.35% and a lightness of 14.5%.
#331238 hex color contains mainly BLUE.
The closest web safe color of #331238 is #330033
#331238 hex color has a decimal value of 3347000.
HEX | 331238 | #331238 |
---|---|---|
RGB | 51, 18, 56 | rgb(51, 18, 56) |
RGB Percent | 20, 7.06, 21.96 | rgb(20, 7.06, 21.96) |
CMYK | 9, 68, 0, 78 | |
HSL | 292.1°, 51.35, 14.5 | hsl(292.1, 51.35%, 14.5%) |
HSV | 292.1°, 67.9, 22 |
XYZ | 2.295, 1.422, 3.895 |
---|---|
Hunter Lab | 11.925, 13.485, -11.019 |
CIE-LAB | 12.103, 23.382, -17.445 |
CIE-LCH | 12.103, 29.173, 323.274 |
CIE-LUV | 8.93, 67.86, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #331238
CMYK percent of color #331238
Text with hexadecimal color #331238
This text has a font color of #331238
<p style="color:#331238">Text here</p>
#331238 Background Color
This box has a background color of #331238
<div style="background-color:#331238">Text here</div>
#331238 Border Color
This box has a border color of #331238
<div style="border: 4px solid #331238">Text here</div>
CSS codes
<p style="color:#331238">Text here</p>
<div style="background-color:#331238">Text here</div>
<div style="border: 4px solid #331238">Text here</div>
#331238 Color on white background
This is how a font and box color of #331238 will look
on a white background.
#331238 Color on black background
This is how a font and box color of #331238 hex color will look
on a black background.