In RGB color space, #310540 hex color has a red value of 49, a green value of 5 and a blue value of 64.
In CMYK color space (used in color printing), #310540 hex color is composed of 23.44% cyan, 92.19% magenta, 0% yellow and 74.9% black.
#310540 color has a hue of 284.7 degrees, a saturation of 85.51% and a lightness of 13.5%.
#310540 hex color contains mainly BLUE.
The closest web safe color of #310540 is #330033
#310540 hex color has a decimal value of 3212608.
HEX | 310540 | #310540 |
---|---|---|
RGB | 49, 5, 64 | rgb(49, 5, 64) |
RGB Percent | 19.22, 1.96, 25.1 | rgb(19.22, 1.96, 25.1) |
CMYK | 23, 92, 0, 75 | |
HSL | 284.7°, 85.51, 13.5 | hsl(284.7, 85.51%, 13.5%) |
HSV | 284.7°, 92.2, 25.1 |
XYZ | 2.246, 1.132, 4.951 |
---|---|
Hunter Lab | 10.64, 19.062, -20.142 |
CIE-LAB | 10.046, 31.214, -26.478 |
CIE-LCH | 10.046, 40.932, 319.693 |
CIE-LUV | 23.44, 92.19, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #310540
CMYK percent of color #310540
Text with hexadecimal color #310540
This text has a font color of #310540
<p style="color:#310540">Text here</p>
#310540 Background Color
This box has a background color of #310540
<div style="background-color:#310540">Text here</div>
#310540 Border Color
This box has a border color of #310540
<div style="border: 4px solid #310540">Text here</div>
CSS codes
<p style="color:#310540">Text here</p>
<div style="background-color:#310540">Text here</div>
<div style="border: 4px solid #310540">Text here</div>
#310540 Color on white background
This is how a font and box color of #310540 will look
on a white background.
#310540 Color on black background
This is how a font and box color of #310540 hex color will look
on a black background.