#840ea4 Color Information

In a RGB color space, hex #840ea4 is composed of 51.8% red, 5.5% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 19.5% cyan, 91.5% magenta, 0% yellow and 35.7% black. It has a hue angle of 287.2 degrees, a saturation of 84.3% and a lightness of 34.9%. #840ea4 color hex could be obtained by blending #ff1cff with #090049. Closest websafe color is: #990099.

    • R 52
    • G 5
    • B 64
    RGB color chart
    • C 20
    • M 91
    • Y 0
    • K 36
    CMYK color chart

#840ea4 color description : Dark magenta.

#840ea4 Color Conversion

The hexadecimal color #840ea4 has RGB values of R:132, G:14, B:164 and CMYK values of C:0.2, M:0.91, Y:0, K:0.36. Its decimal value is 8654500.

Hex triplet 840ea4 #840ea4
RGB Decimal 132, 14, 164 rgb(132,14,164)
RGB Percent 51.8, 5.5, 64.3 rgb(51.8%,5.5%,64.3%)
CMYK 20, 91, 0, 36
HSL 287.2°, 84.3, 34.9 hsl(287.2,84.3%,34.9%)
HSV (or HSB) 287.2°, 91.5, 64.3
Web Safe 990099 #990099
CIE-LAB 33.775, 63.657, -52.198
XYZ 16.373, 7.901, 35.782
xyY 0.273, 0.132, 7.901
CIE-LCH 33.775, 82.321, 320.649
CIE-LUV 33.775, 31.845, -76.746
Hunter-Lab 28.108, 54.786, -55.802
Binary 10000100, 00001110, 10100100

Color Schemes with #840ea4

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

Alternatives to #840ea4

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

Similar Colors

#840ea4 Preview

Text with hexadecimal color #840ea4

This text has a font color of #840ea4.

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

This paragraph has a background color of #840ea4.

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

This element has a border color of #840ea4.

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

Shades and Tints of #840ea4

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, #010001 is the darkest color, while #faeefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840ea4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840ea4 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
  • #424242 Achromatopsia 0.005% of the population
  • #4f3856 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a7 Protanopia 1% of men
  • #005a95 Deuteranopia 1% of men
  • #7b4a4f Tritanopia 0.001% of the population
Trichromacy
  • #303ba6 Protanomaly 1% of men, 0.01% of women
  • #303e9a Deuteranomaly 6% of men, 0.4% of women
  • #7e346e Tritanomaly 0.01% of the population