In RGB color space, #9840a1 hex color has a red value of 152, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #9840a1 hex color is composed of 5.59% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#9840a1 color has a hue of 294.4 degrees, a saturation of 43.11% and a lightness of 44.1%.
#9840a1 hex color contains mainly BLUE.
The closest web safe color of #9840a1 is #993399
#9840a1 hex color has a decimal value of 9978017.
HEX | 9840a1 | #9840a1 |
---|---|---|
RGB | 152, 64, 161 | rgb(152, 64, 161) |
RGB Percent | 59.61, 25.1, 63.14 | rgb(59.61, 25.1, 63.14) |
CMYK | 6, 60, 0, 37 | |
HSL | 294.4°, 43.11, 44.1 | hsl(294.4, 43.11%, 44.1%) |
HSV | 294.4°, 60.2, 63.1 |
XYZ | 21.215, 12.915, 35.093 |
---|---|
Hunter Lab | 35.937, 42.484, -32.741 |
CIE-LAB | 42.635, 50.563, -36.03 |
CIE-LCH | 42.635, 62.087, 324.527 |
CIE-LUV | 5.59, 60.25, 0, 36.86 |
Web Safe | 993399 |
RGB percent of color #9840a1
CMYK percent of color #9840a1
Text with hexadecimal color #9840a1
This text has a font color of #9840a1
<p style="color:#9840a1">Text here</p>
#9840a1 Background Color
This box has a background color of #9840a1
<div style="background-color:#9840a1">Text here</div>
#9840a1 Border Color
This box has a border color of #9840a1
<div style="border: 4px solid #9840a1">Text here</div>
CSS codes
<p style="color:#9840a1">Text here</p>
<div style="background-color:#9840a1">Text here</div>
<div style="border: 4px solid #9840a1">Text here</div>
#9840a1 Color on white background
This is how a font and box color of #9840a1 will look
on a white background.
#9840a1 Color on black background
This is how a font and box color of #9840a1 hex color will look
on a black background.