In RGB color space, #331ea2 hex color has a red value of 51, a green value of 30 and a blue value of 162.
In CMYK color space (used in color printing), #331ea2 hex color is composed of 68.52% cyan, 81.48% magenta, 0% yellow and 36.47% black.
#331ea2 color has a hue of 249.5 degrees, a saturation of 68.75% and a lightness of 37.6%.
#331ea2 hex color contains mainly BLUE.
The closest web safe color of #331ea2 is #333399
#331ea2 hex color has a decimal value of 3350178.
HEX | 331ea2 | #331ea2 |
---|---|---|
RGB | 51, 30, 162 | rgb(51, 30, 162) |
RGB Percent | 20, 11.76, 63.53 | rgb(20, 11.76, 63.53) |
CMYK | 69, 81, 0, 36 | |
HSL | 249.5°, 68.75, 37.6 | hsl(249.5, 68.75%, 37.6%) |
HSV | 249.5°, 81.5, 63.5 |
XYZ | 8.351, 4.241, 34.561 |
---|---|
Hunter Lab | 20.594, 36.345, -85.087 |
CIE-LAB | 24.453, 47.916, -66.683 |
CIE-LCH | 24.453, 82.113, 305.7 |
CIE-LUV | 68.52, 81.48, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #331ea2
CMYK percent of color #331ea2
Text with hexadecimal color #331ea2
This text has a font color of #331ea2
<p style="color:#331ea2">Text here</p>
#331ea2 Background Color
This box has a background color of #331ea2
<div style="background-color:#331ea2">Text here</div>
#331ea2 Border Color
This box has a border color of #331ea2
<div style="border: 4px solid #331ea2">Text here</div>
CSS codes
<p style="color:#331ea2">Text here</p>
<div style="background-color:#331ea2">Text here</div>
<div style="border: 4px solid #331ea2">Text here</div>
#331ea2 Color on white background
This is how a font and box color of #331ea2 will look
on a white background.
#331ea2 Color on black background
This is how a font and box color of #331ea2 hex color will look
on a black background.