In RGB color space, #331f7b hex color has a red value of 51, a green value of 31 and a blue value of 123.
In CMYK color space (used in color printing), #331f7b hex color is composed of 58.54% cyan, 74.8% magenta, 0% yellow and 51.76% black.
#331f7b color has a hue of 253 degrees, a saturation of 59.74% and a lightness of 30.2%.
#331f7b hex color contains mainly BLUE.
The closest web safe color of #331f7b is #333366
#331f7b hex color has a decimal value of 3350395.
HEX | 331f7b | #331f7b |
---|---|---|
RGB | 51, 31, 123 | rgb(51, 31, 123) |
RGB Percent | 20, 12.16, 48.24 | rgb(20, 12.16, 48.24) |
CMYK | 59, 75, 0, 52 | |
HSL | 253°, 59.74, 30.2 | hsl(253, 59.74%, 30.2%) |
HSV | 253°, 74.8, 48.2 |
XYZ | 5.43, 3.114, 19.054 |
---|---|
Hunter Lab | 17.647, 24.045, -51.666 |
CIE-LAB | 20.495, 35.266, -48.946 |
CIE-LCH | 20.495, 60.327, 305.773 |
CIE-LUV | 58.54, 74.8, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #331f7b
CMYK percent of color #331f7b
Text with hexadecimal color #331f7b
This text has a font color of #331f7b
<p style="color:#331f7b">Text here</p>
#331f7b Background Color
This box has a background color of #331f7b
<div style="background-color:#331f7b">Text here</div>
#331f7b Border Color
This box has a border color of #331f7b
<div style="border: 4px solid #331f7b">Text here</div>
CSS codes
<p style="color:#331f7b">Text here</p>
<div style="background-color:#331f7b">Text here</div>
<div style="border: 4px solid #331f7b">Text here</div>
#331f7b Color on white background
This is how a font and box color of #331f7b will look
on a white background.
#331f7b Color on black background
This is how a font and box color of #331f7b hex color will look
on a black background.