In RGB color space, #331f8b hex color has a red value of 51, a green value of 31 and a blue value of 139.
In CMYK color space (used in color printing), #331f8b hex color is composed of 63.31% cyan, 77.7% magenta, 0% yellow and 45.49% black.
#331f8b color has a hue of 251.1 degrees, a saturation of 63.53% and a lightness of 33.3%.
#331f8b hex color contains mainly BLUE.
The closest web safe color of #331f8b is #333399
#331f8b hex color has a decimal value of 3350411.
HEX | 331f8b | #331f8b |
---|---|---|
RGB | 51, 31, 139 | rgb(51, 31, 139) |
RGB Percent | 20, 12.16, 54.51 | rgb(20, 12.16, 54.51) |
CMYK | 63, 78, 0, 45 | |
HSL | 251.1°, 63.53, 33.3 | hsl(251.1, 63.53%, 33.3%) |
HSV | 251.1°, 77.7, 54.5 |
XYZ | 6.515, 3.548, 24.768 |
---|---|
Hunter Lab | 18.836, 28.776, -64.776 |
CIE-LAB | 22.117, 40.329, -56.369 |
CIE-LCH | 22.117, 69.31, 305.582 |
CIE-LUV | 63.31, 77.7, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #331f8b
CMYK percent of color #331f8b
Text with hexadecimal color #331f8b
This text has a font color of #331f8b
<p style="color:#331f8b">Text here</p>
#331f8b Background Color
This box has a background color of #331f8b
<div style="background-color:#331f8b">Text here</div>
#331f8b Border Color
This box has a border color of #331f8b
<div style="border: 4px solid #331f8b">Text here</div>
CSS codes
<p style="color:#331f8b">Text here</p>
<div style="background-color:#331f8b">Text here</div>
<div style="border: 4px solid #331f8b">Text here</div>
#331f8b Color on white background
This is how a font and box color of #331f8b will look
on a white background.
#331f8b Color on black background
This is how a font and box color of #331f8b hex color will look
on a black background.