In RGB color space, #9f42dc hex color has a red value of 159, a green value of 66 and a blue value of 220.
In CMYK color space (used in color printing), #9f42dc hex color is composed of 27.73% cyan, 70% magenta, 0% yellow and 13.73% black.
#9f42dc color has a hue of 276.2 degrees, a saturation of 68.75% and a lightness of 56.1%.
#9f42dc hex color contains mainly BLUE.
The closest web safe color of #9f42dc is #9933cc
#9f42dc hex color has a decimal value of 10437340.
HEX | 9f42dc | #9f42dc |
---|---|---|
RGB | 159, 66, 220 | rgb(159, 66, 220) |
RGB Percent | 62.35, 25.88, 86.27 | rgb(62.35, 25.88, 86.27) |
CMYK | 28, 70, 0, 14 | |
HSL | 276.2°, 68.75, 56.1 | hsl(276.2, 68.75%, 56.1%) |
HSV | 276.2°, 70, 86.3 |
XYZ | 29.165, 16.435, 69.345 |
---|---|
Hunter Lab | 40.54, 57.47, -73.039 |
CIE-LAB | 47.54, 63.364, -62.522 |
CIE-LCH | 47.54, 89.017, 315.383 |
CIE-LUV | 27.73, 70, 0, 13.73 |
Web Safe | 9933cc |
RGB percent of color #9f42dc
CMYK percent of color #9f42dc
Text with hexadecimal color #9f42dc
This text has a font color of #9f42dc
<p style="color:#9f42dc">Text here</p>
#9f42dc Background Color
This box has a background color of #9f42dc
<div style="background-color:#9f42dc">Text here</div>
#9f42dc Border Color
This box has a border color of #9f42dc
<div style="border: 4px solid #9f42dc">Text here</div>
CSS codes
<p style="color:#9f42dc">Text here</p>
<div style="background-color:#9f42dc">Text here</div>
<div style="border: 4px solid #9f42dc">Text here</div>
#9f42dc Color on white background
This is how a font and box color of #9f42dc will look
on a white background.
#9f42dc Color on black background
This is how a font and box color of #9f42dc hex color will look
on a black background.