In RGB color space, #9e40d8 hex color has a red value of 158, a green value of 64 and a blue value of 216.
In CMYK color space (used in color printing), #9e40d8 hex color is composed of 26.85% cyan, 70.37% magenta, 0% yellow and 15.29% black.
#9e40d8 color has a hue of 277.1 degrees, a saturation of 66.09% and a lightness of 54.9%.
#9e40d8 hex color contains mainly BLUE.
The closest web safe color of #9e40d8 is #9933cc
#9e40d8 hex color has a decimal value of 10371288.
HEX | 9e40d8 | #9e40d8 |
---|---|---|
RGB | 158, 64, 216 | rgb(158, 64, 216) |
RGB Percent | 61.96, 25.1, 84.71 | rgb(61.96, 25.1, 84.71) |
CMYK | 27, 70, 0, 15 | |
HSL | 277.1°, 66.09, 54.9 | hsl(277.1, 66.09%, 54.9%) |
HSV | 277.1°, 70.4, 84.7 |
XYZ | 28.329, 15.894, 66.54 |
---|---|
Hunter Lab | 39.867, 57.071, -71.05 |
CIE-LAB | 46.835, 63.15, -61.385 |
CIE-LCH | 46.835, 88.068, 315.812 |
CIE-LUV | 26.85, 70.37, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #9e40d8
CMYK percent of color #9e40d8
Text with hexadecimal color #9e40d8
This text has a font color of #9e40d8
<p style="color:#9e40d8">Text here</p>
#9e40d8 Background Color
This box has a background color of #9e40d8
<div style="background-color:#9e40d8">Text here</div>
#9e40d8 Border Color
This box has a border color of #9e40d8
<div style="border: 4px solid #9e40d8">Text here</div>
CSS codes
<p style="color:#9e40d8">Text here</p>
<div style="background-color:#9e40d8">Text here</div>
<div style="border: 4px solid #9e40d8">Text here</div>
#9e40d8 Color on white background
This is how a font and box color of #9e40d8 will look
on a white background.
#9e40d8 Color on black background
This is how a font and box color of #9e40d8 hex color will look
on a black background.