In RGB color space, #840ba8 hex color has a red value of 132, a green value of 11 and a blue value of 168.
In CMYK color space (used in color printing), #840ba8 hex color is composed of 21.43% cyan, 93.45% magenta, 0% yellow and 34.12% black.
#840ba8 color has a hue of 286.2 degrees, a saturation of 87.71% and a lightness of 35.1%.
#840ba8 hex color contains mainly BLUE.
The closest web safe color of #840ba8 is #990099
#840ba8 hex color has a decimal value of 8653736.
HEX | 840ba8 | #840ba8 |
---|---|---|
RGB | 132, 11, 168 | rgb(132, 11, 168) |
RGB Percent | 51.76, 4.31, 65.88 | rgb(51.76, 4.31, 65.88) |
CMYK | 21, 93, 0, 34 | |
HSL | 286.2°, 87.71, 35.1 | hsl(286.2, 87.71%, 35.1%) |
HSV | 286.2°, 93.5, 65.9 |
XYZ | 16.703, 7.972, 37.704 |
---|---|
Hunter Lab | 28.235, 56.186, -59.41 |
CIE-LAB | 33.925, 64.871, -54.368 |
CIE-LCH | 33.925, 84.641, 320.034 |
CIE-LUV | 21.43, 93.45, 0, 34.12 |
Web Safe | 990099 |
RGB percent of color #840ba8
CMYK percent of color #840ba8
Text with hexadecimal color #840ba8
This text has a font color of #840ba8
<p style="color:#840ba8">Text here</p>
#840ba8 Background Color
This box has a background color of #840ba8
<div style="background-color:#840ba8">Text here</div>
#840ba8 Border Color
This box has a border color of #840ba8
<div style="border: 4px solid #840ba8">Text here</div>
CSS codes
<p style="color:#840ba8">Text here</p>
<div style="background-color:#840ba8">Text here</div>
<div style="border: 4px solid #840ba8">Text here</div>
#840ba8 Color on white background
This is how a font and box color of #840ba8 will look
on a white background.
#840ba8 Color on black background
This is how a font and box color of #840ba8 hex color will look
on a black background.