In RGB color space, #331fa3 hex color has a red value of 51, a green value of 31 and a blue value of 163.
In CMYK color space (used in color printing), #331fa3 hex color is composed of 68.71% cyan, 80.98% magenta, 0% yellow and 36.08% black.
#331fa3 color has a hue of 249.1 degrees, a saturation of 68.04% and a lightness of 38%.
#331fa3 hex color contains mainly BLUE.
The closest web safe color of #331fa3 is #333399
#331fa3 hex color has a decimal value of 3350435.
HEX | 331fa3 | #331fa3 |
---|---|---|
RGB | 51, 31, 163 | rgb(51, 31, 163) |
RGB Percent | 20, 12.16, 63.92 | rgb(20, 12.16, 63.92) |
CMYK | 69, 81, 0, 36 | |
HSL | 249.1°, 68.04, 38 | hsl(249.1, 68.04%, 38%) |
HSV | 249.1°, 81, 63.9 |
XYZ | 8.466, 4.328, 35.04 |
---|---|
Hunter Lab | 20.804, 36.233, -85.3 |
CIE-LAB | 24.727, 47.748, -66.836 |
CIE-LCH | 24.727, 82.14, 305.542 |
CIE-LUV | 68.71, 80.98, 0, 36.08 |
Web Safe | 333399 |
RGB percent of color #331fa3
CMYK percent of color #331fa3
Text with hexadecimal color #331fa3
This text has a font color of #331fa3
<p style="color:#331fa3">Text here</p>
#331fa3 Background Color
This box has a background color of #331fa3
<div style="background-color:#331fa3">Text here</div>
#331fa3 Border Color
This box has a border color of #331fa3
<div style="border: 4px solid #331fa3">Text here</div>
CSS codes
<p style="color:#331fa3">Text here</p>
<div style="background-color:#331fa3">Text here</div>
<div style="border: 4px solid #331fa3">Text here</div>
#331fa3 Color on white background
This is how a font and box color of #331fa3 will look
on a white background.
#331fa3 Color on black background
This is how a font and box color of #331fa3 hex color will look
on a black background.