In RGB color space, #842a9f hex color has a red value of 132, a green value of 42 and a blue value of 159.
In CMYK color space (used in color printing), #842a9f hex color is composed of 16.98% cyan, 73.58% magenta, 0% yellow and 37.65% black.
#842a9f color has a hue of 286.2 degrees, a saturation of 58.21% and a lightness of 39.4%.
#842a9f hex color contains mainly BLUE.
The closest web safe color of #842a9f is #993399
#842a9f hex color has a decimal value of 8661663.
HEX | 842a9f | #842a9f |
---|---|---|
RGB | 132, 42, 159 | rgb(132, 42, 159) |
RGB Percent | 51.76, 16.47, 62.35 | rgb(51.76, 16.47, 62.35) |
CMYK | 17, 74, 0, 38 | |
HSL | 286.2°, 58.21, 39.4 | hsl(286.2, 58.21%, 39.4%) |
HSV | 286.2°, 73.6, 62.4 |
XYZ | 16.602, 9.065, 33.676 |
---|---|
Hunter Lab | 30.108, 45.738, -45.24 |
CIE-LAB | 36.109, 54.889, -45.411 |
CIE-LCH | 36.109, 71.239, 320.398 |
CIE-LUV | 16.98, 73.58, 0, 37.65 |
Web Safe | 993399 |
RGB percent of color #842a9f
CMYK percent of color #842a9f
Text with hexadecimal color #842a9f
This text has a font color of #842a9f
<p style="color:#842a9f">Text here</p>
#842a9f Background Color
This box has a background color of #842a9f
<div style="background-color:#842a9f">Text here</div>
#842a9f Border Color
This box has a border color of #842a9f
<div style="border: 4px solid #842a9f">Text here</div>
CSS codes
<p style="color:#842a9f">Text here</p>
<div style="background-color:#842a9f">Text here</div>
<div style="border: 4px solid #842a9f">Text here</div>
#842a9f Color on white background
This is how a font and box color of #842a9f will look
on a white background.
#842a9f Color on black background
This is how a font and box color of #842a9f hex color will look
on a black background.