In RGB color space, #40315d hex color has a red value of 64, a green value of 49 and a blue value of 93.
In CMYK color space (used in color printing), #40315d hex color is composed of 31.18% cyan, 47.31% magenta, 0% yellow and 63.53% black.
#40315d color has a hue of 260.5 degrees, a saturation of 30.99% and a lightness of 27.8%.
#40315d hex color contains mainly BLUE.
The closest web safe color of #40315d is #333366
#40315d hex color has a decimal value of 4206941.
HEX | 40315d | #40315d |
---|---|---|
RGB | 64, 49, 93 | rgb(64, 49, 93) |
RGB Percent | 25.1, 19.22, 36.47 | rgb(25.1, 19.22, 36.47) |
CMYK | 31, 47, 0, 64 | |
HSL | 260.5°, 30.99, 27.8 | hsl(260.5, 30.99%, 27.8%) |
HSV | 260.5°, 47.3, 36.5 |
XYZ | 5.188, 4.077, 10.869 |
---|---|
Hunter Lab | 20.192, 10.528, -17.781 |
CIE-LAB | 23.924, 17.579, -23.942 |
CIE-LCH | 23.924, 29.703, 306.287 |
CIE-LUV | 31.18, 47.31, 0, 63.53 |
Web Safe | 333366 |
RGB percent of color #40315d
CMYK percent of color #40315d
Text with hexadecimal color #40315d
This text has a font color of #40315d
<p style="color:#40315d">Text here</p>
#40315d Background Color
This box has a background color of #40315d
<div style="background-color:#40315d">Text here</div>
#40315d Border Color
This box has a border color of #40315d
<div style="border: 4px solid #40315d">Text here</div>
CSS codes
<p style="color:#40315d">Text here</p>
<div style="background-color:#40315d">Text here</div>
<div style="border: 4px solid #40315d">Text here</div>
#40315d Color on white background
This is how a font and box color of #40315d will look
on a white background.
#40315d Color on black background
This is how a font and box color of #40315d hex color will look
on a black background.