In RGB color space, #9d42a6 hex color has a red value of 157, a green value of 66 and a blue value of 166.
In CMYK color space (used in color printing), #9d42a6 hex color is composed of 5.42% cyan, 60.24% magenta, 0% yellow and 34.9% black.
#9d42a6 color has a hue of 294.6 degrees, a saturation of 43.1% and a lightness of 45.5%.
#9d42a6 hex color contains mainly BLUE.
The closest web safe color of #9d42a6 is #993399
#9d42a6 hex color has a decimal value of 10306214.
HEX | 9d42a6 | #9d42a6 |
---|---|---|
RGB | 157, 66, 166 | rgb(157, 66, 166) |
RGB Percent | 61.57, 25.88, 65.1 | rgb(61.57, 25.88, 65.1) |
CMYK | 5, 60, 0, 35 | |
HSL | 294.6°, 43.1, 45.5 | hsl(294.6, 43.1%, 45.5%) |
HSV | 294.6°, 60.2, 65.1 |
XYZ | 22.736, 13.818, 37.545 |
---|---|
Hunter Lab | 37.173, 44.125, -33.863 |
CIE-LAB | 43.971, 51.886, -36.849 |
CIE-LCH | 43.971, 63.64, 324.618 |
CIE-LUV | 5.42, 60.24, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #9d42a6
CMYK percent of color #9d42a6
Text with hexadecimal color #9d42a6
This text has a font color of #9d42a6
<p style="color:#9d42a6">Text here</p>
#9d42a6 Background Color
This box has a background color of #9d42a6
<div style="background-color:#9d42a6">Text here</div>
#9d42a6 Border Color
This box has a border color of #9d42a6
<div style="border: 4px solid #9d42a6">Text here</div>
CSS codes
<p style="color:#9d42a6">Text here</p>
<div style="background-color:#9d42a6">Text here</div>
<div style="border: 4px solid #9d42a6">Text here</div>
#9d42a6 Color on white background
This is how a font and box color of #9d42a6 will look
on a white background.
#9d42a6 Color on black background
This is how a font and box color of #9d42a6 hex color will look
on a black background.