In RGB color space, #40315b hex color has a red value of 64, a green value of 49 and a blue value of 91.
In CMYK color space (used in color printing), #40315b hex color is composed of 29.67% cyan, 46.15% magenta, 0% yellow and 64.31% black.
#40315b color has a hue of 261.4 degrees, a saturation of 30% and a lightness of 27.5%.
#40315b hex color contains mainly BLUE.
The closest web safe color of #40315b is #333366
#40315b hex color has a decimal value of 4206939.
HEX | 40315b | #40315b |
---|---|---|
RGB | 64, 49, 91 | rgb(64, 49, 91) |
RGB Percent | 25.1, 19.22, 35.69 | rgb(25.1, 19.22, 35.69) |
CMYK | 30, 46, 0, 64 | |
HSL | 261.4°, 30, 27.5 | hsl(261.4, 30%, 27.5%) |
HSV | 261.4°, 46.2, 35.7 |
XYZ | 5.101, 4.042, 10.409 |
---|---|
Hunter Lab | 20.105, 10.106, -16.623 |
CIE-LAB | 23.81, 17.006, -22.812 |
CIE-LCH | 23.81, 28.453, 306.704 |
CIE-LUV | 29.67, 46.15, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #40315b
CMYK percent of color #40315b
Text with hexadecimal color #40315b
This text has a font color of #40315b
<p style="color:#40315b">Text here</p>
#40315b Background Color
This box has a background color of #40315b
<div style="background-color:#40315b">Text here</div>
#40315b Border Color
This box has a border color of #40315b
<div style="border: 4px solid #40315b">Text here</div>
CSS codes
<p style="color:#40315b">Text here</p>
<div style="background-color:#40315b">Text here</div>
<div style="border: 4px solid #40315b">Text here</div>
#40315b Color on white background
This is how a font and box color of #40315b will look
on a white background.
#40315b Color on black background
This is how a font and box color of #40315b hex color will look
on a black background.