In RGB color space, #331aa0 hex color has a red value of 51, a green value of 26 and a blue value of 160.
In CMYK color space (used in color printing), #331aa0 hex color is composed of 68.13% cyan, 83.75% magenta, 0% yellow and 37.25% black.
#331aa0 color has a hue of 251.2 degrees, a saturation of 72.04% and a lightness of 36.5%.
#331aa0 hex color contains mainly BLUE.
The closest web safe color of #331aa0 is #333399
#331aa0 hex color has a decimal value of 3349152.
HEX | 331aa0 | #331aa0 |
---|---|---|
RGB | 51, 26, 160 | rgb(51, 26, 160) |
RGB Percent | 20, 10.2, 62.75 | rgb(20, 10.2, 62.75) |
CMYK | 68, 84, 0, 37 | |
HSL | 251.2°, 72.04, 36.5 | hsl(251.2, 72.04%, 36.5%) |
HSV | 251.2°, 83.8, 62.7 |
XYZ | 8.08, 3.981, 33.6 |
---|---|
Hunter Lab | 19.952, 37.369, -85.878 |
CIE-LAB | 23.609, 49.124, -66.862 |
CIE-LCH | 23.609, 82.968, 306.305 |
CIE-LUV | 68.13, 83.75, 0, 37.25 |
Web Safe | 333399 |
RGB percent of color #331aa0
CMYK percent of color #331aa0
Text with hexadecimal color #331aa0
This text has a font color of #331aa0
<p style="color:#331aa0">Text here</p>
#331aa0 Background Color
This box has a background color of #331aa0
<div style="background-color:#331aa0">Text here</div>
#331aa0 Border Color
This box has a border color of #331aa0
<div style="border: 4px solid #331aa0">Text here</div>
CSS codes
<p style="color:#331aa0">Text here</p>
<div style="background-color:#331aa0">Text here</div>
<div style="border: 4px solid #331aa0">Text here</div>
#331aa0 Color on white background
This is how a font and box color of #331aa0 will look
on a white background.
#331aa0 Color on black background
This is how a font and box color of #331aa0 hex color will look
on a black background.