In RGB color space, #331ed4 hex color has a red value of 51, a green value of 30 and a blue value of 212.
In CMYK color space (used in color printing), #331ed4 hex color is composed of 75.94% cyan, 85.85% magenta, 0% yellow and 16.86% black.
#331ed4 color has a hue of 246.9 degrees, a saturation of 75.21% and a lightness of 47.5%.
#331ed4 hex color contains mainly BLUE.
The closest web safe color of #331ed4 is #3333cc
#331ed4 hex color has a decimal value of 3350228.
HEX | 331ed4 | #331ed4 |
---|---|---|
RGB | 51, 30, 212 | rgb(51, 30, 212) |
RGB Percent | 20, 11.76, 83.14 | rgb(20, 11.76, 83.14) |
CMYK | 76, 86, 0, 17 | |
HSL | 246.9°, 75.21, 47.5 | hsl(246.9, 75.21%, 47.5%) |
HSV | 246.9°, 85.8, 83.1 |
XYZ | 13.713, 6.386, 62.797 |
---|---|
Hunter Lab | 25.271, 52.639, -129.646 |
CIE-LAB | 30.366, 62.387, -86.536 |
CIE-LCH | 30.366, 106.68, 305.789 |
CIE-LUV | 75.94, 85.85, 0, 16.86 |
Web Safe | 3333cc |
RGB percent of color #331ed4
CMYK percent of color #331ed4
Text with hexadecimal color #331ed4
This text has a font color of #331ed4
<p style="color:#331ed4">Text here</p>
#331ed4 Background Color
This box has a background color of #331ed4
<div style="background-color:#331ed4">Text here</div>
#331ed4 Border Color
This box has a border color of #331ed4
<div style="border: 4px solid #331ed4">Text here</div>
CSS codes
<p style="color:#331ed4">Text here</p>
<div style="background-color:#331ed4">Text here</div>
<div style="border: 4px solid #331ed4">Text here</div>
#331ed4 Color on white background
This is how a font and box color of #331ed4 will look
on a white background.
#331ed4 Color on black background
This is how a font and box color of #331ed4 hex color will look
on a black background.