In RGB color space, #331aa2 hex color has a red value of 51, a green value of 26 and a blue value of 162.
In CMYK color space (used in color printing), #331aa2 hex color is composed of 68.52% cyan, 83.95% magenta, 0% yellow and 36.47% black.
#331aa2 color has a hue of 251 degrees, a saturation of 72.34% and a lightness of 36.9%.
#331aa2 hex color contains mainly BLUE.
The closest web safe color of #331aa2 is #333399
#331aa2 hex color has a decimal value of 3349154.
HEX | 331aa2 | #331aa2 |
---|---|---|
RGB | 51, 26, 162 | rgb(51, 26, 162) |
RGB Percent | 20, 10.2, 63.53 | rgb(20, 10.2, 63.53) |
CMYK | 69, 84, 0, 36 | |
HSL | 251°, 72.34, 36.9 | hsl(251, 72.34%, 36.9%) |
HSV | 251°, 84, 63.5 |
XYZ | 8.256, 4.051, 34.529 |
---|---|
Hunter Lab | 20.127, 37.997, -87.626 |
CIE-LAB | 23.839, 49.714, -67.698 |
CIE-LCH | 23.839, 83.991, 306.292 |
CIE-LUV | 68.52, 83.95, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #331aa2
CMYK percent of color #331aa2
Text with hexadecimal color #331aa2
This text has a font color of #331aa2
<p style="color:#331aa2">Text here</p>
#331aa2 Background Color
This box has a background color of #331aa2
<div style="background-color:#331aa2">Text here</div>
#331aa2 Border Color
This box has a border color of #331aa2
<div style="border: 4px solid #331aa2">Text here</div>
CSS codes
<p style="color:#331aa2">Text here</p>
<div style="background-color:#331aa2">Text here</div>
<div style="border: 4px solid #331aa2">Text here</div>
#331aa2 Color on white background
This is how a font and box color of #331aa2 will look
on a white background.
#331aa2 Color on black background
This is how a font and box color of #331aa2 hex color will look
on a black background.