#840ea8 Color Information

In a RGB color space, hex #840ea8 is composed of 51.8% red, 5.5% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 21.4% cyan, 91.7% magenta, 0% yellow and 34.1% black. It has a hue angle of 286 degrees, a saturation of 84.6% and a lightness of 35.7%. #840ea8 color hex could be obtained by blending #ff1cff with #090051. Closest websafe color is: #990099.

    • R 52
    • G 5
    • B 66
    RGB color chart
    • C 21
    • M 92
    • Y 0
    • K 34
    CMYK color chart

#840ea8 color description : Dark magenta.

#840ea8 Color Conversion

The hexadecimal color #840ea8 has RGB values of R:132, G:14, B:168 and CMYK values of C:0.21, M:0.92, Y:0, K:0.34. Its decimal value is 8654504.

Hex triplet 840ea8 #840ea8
RGB Decimal 132, 14, 168 rgb(132,14,168)
RGB Percent 51.8, 5.5, 65.9 rgb(51.8%,5.5%,65.9%)
CMYK 21, 92, 0, 34
HSL 286°, 84.6, 35.7 hsl(286,84.6%,35.7%)
HSV (or HSB) 286°, 91.7, 65.9
Web Safe 990099 #990099
CIE-LAB 34.082, 64.399, -54.111
XYZ 16.74, 8.047, 37.715
xyY 0.268, 0.129, 8.047
CIE-LCH 34.082, 84.115, 319.962
CIE-LUV 34.082, 30.73, -79.449
Hunter-Lab 28.368, 55.687, -58.968
Binary 10000100, 00001110, 10101000

Color Schemes with #840ea8

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #840ea8

Below, you can see some colors close to #840ea8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#840ea8 Preview

Text with hexadecimal color #840ea8

This text has a font color of #840ea8.

<span style="color:#840ea8;">Text here</span>
#840ea8 background color

This paragraph has a background color of #840ea8.

<p style="background-color:#840ea8;">Content here</p>
#840ea8 border color

This element has a border color of #840ea8.

<div style="border:1px solid #840ea8;">Content here</div>
CSS codes
.text {color:#840ea8;}
.background {background-color:#840ea8;}
.border {border:1px solid #840ea8;}

Shades and Tints of #840ea8

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #040005 is the darkest color, while #fbf2fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840ea8

A tone is produced by adding gray to any pure hue. In this case, #5f5462 is the less saturated color, while #8b00b6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840ea8 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #434343 Achromatopsia 0.005% of the population
  • #503857 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a8 Protanopia 1% of men
  • #005a96 Deuteranopia 1% of men
  • #7a4b51 Tritanopia 0.001% of the population
Trichromacy
  • #303ca8 Protanomaly 1% of men, 0.01% of women
  • #303e9c Deuteranomaly 6% of men, 0.4% of women
  • #7e3570 Tritanomaly 0.01% of the population