In RGB color space, #310ea2 hex color has a red value of 49, a green value of 14 and a blue value of 162.
In CMYK color space (used in color printing), #310ea2 hex color is composed of 69.75% cyan, 91.36% magenta, 0% yellow and 36.47% black.
#310ea2 color has a hue of 254.2 degrees, a saturation of 84.09% and a lightness of 34.5%.
#310ea2 hex color contains mainly BLUE.
The closest web safe color of #310ea2 is #330099
#310ea2 hex color has a decimal value of 3215010.
HEX | 310ea2 | #310ea2 |
---|---|---|
RGB | 49, 14, 162 | rgb(49, 14, 162) |
RGB Percent | 19.22, 5.49, 63.53 | rgb(19.22, 5.49, 63.53) |
CMYK | 70, 91, 0, 36 | |
HSL | 254.2°, 84.09, 34.5 | hsl(254.2, 84.09%, 34.5%) |
HSV | 254.2°, 91.4, 63.5 |
XYZ | 7.945, 3.576, 34.454 |
---|---|
Hunter Lab | 18.91, 41.902, -94.787 |
CIE-LAB | 22.217, 53.891, -70.396 |
CIE-LCH | 22.217, 88.656, 307.436 |
CIE-LUV | 69.75, 91.36, 0, 36.47 |
Web Safe | 330099 |
RGB percent of color #310ea2
CMYK percent of color #310ea2
Text with hexadecimal color #310ea2
This text has a font color of #310ea2
<p style="color:#310ea2">Text here</p>
#310ea2 Background Color
This box has a background color of #310ea2
<div style="background-color:#310ea2">Text here</div>
#310ea2 Border Color
This box has a border color of #310ea2
<div style="border: 4px solid #310ea2">Text here</div>
CSS codes
<p style="color:#310ea2">Text here</p>
<div style="background-color:#310ea2">Text here</div>
<div style="border: 4px solid #310ea2">Text here</div>
#310ea2 Color on white background
This is how a font and box color of #310ea2 will look
on a white background.
#310ea2 Color on black background
This is how a font and box color of #310ea2 hex color will look
on a black background.