In RGB color space, #331f8c hex color has a red value of 51, a green value of 31 and a blue value of 140.
In CMYK color space (used in color printing), #331f8c hex color is composed of 63.57% cyan, 77.86% magenta, 0% yellow and 45.1% black.
#331f8c color has a hue of 251 degrees, a saturation of 63.74% and a lightness of 33.5%.
#331f8c hex color contains mainly BLUE.
The closest web safe color of #331f8c is #333399
#331f8c hex color has a decimal value of 3350412.
HEX | 331f8c | #331f8c |
---|---|---|
RGB | 51, 31, 140 | rgb(51, 31, 140) |
RGB Percent | 20, 12.16, 54.9 | rgb(20, 12.16, 54.9) |
CMYK | 64, 78, 0, 45 | |
HSL | 251°, 63.74, 33.5 | hsl(251, 63.74%, 33.5%) |
HSV | 251°, 77.9, 54.9 |
XYZ | 6.589, 3.577, 25.154 |
---|---|
Hunter Lab | 18.913, 29.089, -65.616 |
CIE-LAB | 22.221, 40.654, -56.822 |
CIE-LCH | 22.221, 69.868, 305.582 |
CIE-LUV | 63.57, 77.86, 0, 45.1 |
Web Safe | 333399 |
RGB percent of color #331f8c
CMYK percent of color #331f8c
Text with hexadecimal color #331f8c
This text has a font color of #331f8c
<p style="color:#331f8c">Text here</p>
#331f8c Background Color
This box has a background color of #331f8c
<div style="background-color:#331f8c">Text here</div>
#331f8c Border Color
This box has a border color of #331f8c
<div style="border: 4px solid #331f8c">Text here</div>
CSS codes
<p style="color:#331f8c">Text here</p>
<div style="background-color:#331f8c">Text here</div>
<div style="border: 4px solid #331f8c">Text here</div>
#331f8c Color on white background
This is how a font and box color of #331f8c will look
on a white background.
#331f8c Color on black background
This is how a font and box color of #331f8c hex color will look
on a black background.