In RGB color space, #331f7a hex color has a red value of 51, a green value of 31 and a blue value of 122.
In CMYK color space (used in color printing), #331f7a hex color is composed of 58.2% cyan, 74.59% magenta, 0% yellow and 52.16% black.
#331f7a color has a hue of 253.2 degrees, a saturation of 59.48% and a lightness of 30%.
#331f7a hex color contains mainly BLUE.
The closest web safe color of #331f7a is #333366
#331f7a hex color has a decimal value of 3350394.
HEX | 331f7a | #331f7a |
---|---|---|
RGB | 51, 31, 122 | rgb(51, 31, 122) |
RGB Percent | 20, 12.16, 47.84 | rgb(20, 12.16, 47.84) |
CMYK | 58, 75, 0, 52 | |
HSL | 253.2°, 59.48, 30 | hsl(253.2, 59.48%, 30%) |
HSV | 253.2°, 74.6, 47.8 |
XYZ | 5.368, 3.089, 18.726 |
---|---|
Hunter Lab | 17.576, 23.761, -50.868 |
CIE-LAB | 20.397, 34.952, -48.469 |
CIE-LCH | 20.397, 59.757, 305.796 |
CIE-LUV | 58.2, 74.59, 0, 52.16 |
Web Safe | 333366 |
RGB percent of color #331f7a
CMYK percent of color #331f7a
Text with hexadecimal color #331f7a
This text has a font color of #331f7a
<p style="color:#331f7a">Text here</p>
#331f7a Background Color
This box has a background color of #331f7a
<div style="background-color:#331f7a">Text here</div>
#331f7a Border Color
This box has a border color of #331f7a
<div style="border: 4px solid #331f7a">Text here</div>
CSS codes
<p style="color:#331f7a">Text here</p>
<div style="background-color:#331f7a">Text here</div>
<div style="border: 4px solid #331f7a">Text here</div>
#331f7a Color on white background
This is how a font and box color of #331f7a will look
on a white background.
#331f7a Color on black background
This is how a font and box color of #331f7a hex color will look
on a black background.