In RGB color space, #331f78 hex color has a red value of 51, a green value of 31 and a blue value of 120.
In CMYK color space (used in color printing), #331f78 hex color is composed of 57.5% cyan, 74.17% magenta, 0% yellow and 52.94% black.
#331f78 color has a hue of 253.5 degrees, a saturation of 58.94% and a lightness of 29.6%.
#331f78 hex color contains mainly BLUE.
The closest web safe color of #331f78 is #333366
#331f78 hex color has a decimal value of 3350392.
HEX | 331f78 | #331f78 |
---|---|---|
RGB | 51, 31, 120 | rgb(51, 31, 120) |
RGB Percent | 20, 12.16, 47.06 | rgb(20, 12.16, 47.06) |
CMYK | 58, 74, 0, 53 | |
HSL | 253.5°, 58.94, 29.6 | hsl(253.5, 58.94%, 29.6%) |
HSV | 253.5°, 74.2, 47.1 |
XYZ | 5.245, 3.04, 18.08 |
---|---|
Hunter Lab | 17.436, 23.184, -49.276 |
CIE-LAB | 20.203, 34.309, -47.509 |
CIE-LCH | 20.203, 58.602, 305.835 |
CIE-LUV | 57.5, 74.17, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #331f78
CMYK percent of color #331f78
Text with hexadecimal color #331f78
This text has a font color of #331f78
<p style="color:#331f78">Text here</p>
#331f78 Background Color
This box has a background color of #331f78
<div style="background-color:#331f78">Text here</div>
#331f78 Border Color
This box has a border color of #331f78
<div style="border: 4px solid #331f78">Text here</div>
CSS codes
<p style="color:#331f78">Text here</p>
<div style="background-color:#331f78">Text here</div>
<div style="border: 4px solid #331f78">Text here</div>
#331f78 Color on white background
This is how a font and box color of #331f78 will look
on a white background.
#331f78 Color on black background
This is how a font and box color of #331f78 hex color will look
on a black background.