In RGB color space, #331f8a hex color has a red value of 51, a green value of 31 and a blue value of 138.
In CMYK color space (used in color printing), #331f8a hex color is composed of 63.04% cyan, 77.54% magenta, 0% yellow and 45.88% black.
#331f8a color has a hue of 251.2 degrees, a saturation of 63.31% and a lightness of 33.1%.
#331f8a hex color contains mainly BLUE.
The closest web safe color of #331f8a is #333399
#331f8a hex color has a decimal value of 3350410.
HEX | 331f8a | #331f8a |
---|---|---|
RGB | 51, 31, 138 | rgb(51, 31, 138) |
RGB Percent | 20, 12.16, 54.12 | rgb(20, 12.16, 54.12) |
CMYK | 63, 78, 0, 46 | |
HSL | 251.2°, 63.31, 33.1 | hsl(251.2, 63.31%, 33.1%) |
HSV | 251.2°, 77.5, 54.1 |
XYZ | 6.443, 3.519, 24.384 |
---|---|
Hunter Lab | 18.759, 28.48, -63.937 |
CIE-LAB | 22.013, 40.021, -55.914 |
CIE-LCH | 22.013, 68.761, 305.594 |
CIE-LUV | 63.04, 77.54, 0, 45.88 |
Web Safe | 333399 |
RGB percent of color #331f8a
CMYK percent of color #331f8a
Text with hexadecimal color #331f8a
This text has a font color of #331f8a
<p style="color:#331f8a">Text here</p>
#331f8a Background Color
This box has a background color of #331f8a
<div style="background-color:#331f8a">Text here</div>
#331f8a Border Color
This box has a border color of #331f8a
<div style="border: 4px solid #331f8a">Text here</div>
CSS codes
<p style="color:#331f8a">Text here</p>
<div style="background-color:#331f8a">Text here</div>
<div style="border: 4px solid #331f8a">Text here</div>
#331f8a Color on white background
This is how a font and box color of #331f8a will look
on a white background.
#331f8a Color on black background
This is how a font and box color of #331f8a hex color will look
on a black background.