In RGB color space, #40217f hex color has a red value of 64, a green value of 33 and a blue value of 127.
In CMYK color space (used in color printing), #40217f hex color is composed of 49.61% cyan, 74.02% magenta, 0% yellow and 50.2% black.
#40217f color has a hue of 259.8 degrees, a saturation of 58.75% and a lightness of 31.4%.
#40217f hex color contains mainly BLUE.
The closest web safe color of #40217f is #333366
#40217f hex color has a decimal value of 4202879.
HEX | 40217f | #40217f |
---|---|---|
RGB | 64, 33, 127 | rgb(64, 33, 127) |
RGB Percent | 25.1, 12.94, 49.8 | rgb(25.1, 12.94, 49.8) |
CMYK | 50, 74, 0, 50 | |
HSL | 259.8°, 58.75, 31.4 | hsl(259.8, 58.75%, 31.4%) |
HSV | 259.8°, 74, 49.8 |
XYZ | 6.489, 3.71, 20.453 |
---|---|
Hunter Lab | 19.261, 26.428, -49.475 |
CIE-LAB | 22.689, 37.593, -47.837 |
CIE-LCH | 22.689, 60.841, 308.162 |
CIE-LUV | 49.61, 74.02, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #40217f
CMYK percent of color #40217f
Text with hexadecimal color #40217f
This text has a font color of #40217f
<p style="color:#40217f">Text here</p>
#40217f Background Color
This box has a background color of #40217f
<div style="background-color:#40217f">Text here</div>
#40217f Border Color
This box has a border color of #40217f
<div style="border: 4px solid #40217f">Text here</div>
CSS codes
<p style="color:#40217f">Text here</p>
<div style="background-color:#40217f">Text here</div>
<div style="border: 4px solid #40217f">Text here</div>
#40217f Color on white background
This is how a font and box color of #40217f will look
on a white background.
#40217f Color on black background
This is how a font and box color of #40217f hex color will look
on a black background.