In RGB color space, #331987 hex color has a red value of 51, a green value of 25 and a blue value of 135.
In CMYK color space (used in color printing), #331987 hex color is composed of 62.22% cyan, 81.48% magenta, 0% yellow and 47.06% black.
#331987 color has a hue of 254.2 degrees, a saturation of 68.75% and a lightness of 31.4%.
#331987 hex color contains mainly BLUE.
The closest web safe color of #331987 is #330099
#331987 hex color has a decimal value of 3348871.
HEX | 331987 | #331987 |
---|---|---|
RGB | 51, 25, 135 | rgb(51, 25, 135) |
RGB Percent | 20, 9.8, 52.94 | rgb(20, 9.8, 52.94) |
CMYK | 62, 81, 0, 47 | |
HSL | 254.2°, 68.75, 31.4 | hsl(254.2, 68.75%, 31.4%) |
HSV | 254.2°, 81.5, 52.9 |
XYZ | 6.086, 3.148, 23.209 |
---|---|
Hunter Lab | 17.743, 30.179, -65.137 |
CIE-LAB | 20.627, 42.157, -56.321 |
CIE-LCH | 20.627, 70.351, 306.815 |
CIE-LUV | 62.22, 81.48, 0, 47.06 |
Web Safe | 330099 |
RGB percent of color #331987
CMYK percent of color #331987
Text with hexadecimal color #331987
This text has a font color of #331987
<p style="color:#331987">Text here</p>
#331987 Background Color
This box has a background color of #331987
<div style="background-color:#331987">Text here</div>
#331987 Border Color
This box has a border color of #331987
<div style="border: 4px solid #331987">Text here</div>
CSS codes
<p style="color:#331987">Text here</p>
<div style="background-color:#331987">Text here</div>
<div style="border: 4px solid #331987">Text here</div>
#331987 Color on white background
This is how a font and box color of #331987 will look
on a white background.
#331987 Color on black background
This is how a font and box color of #331987 hex color will look
on a black background.