#840ba8 Color Information

In a RGB color space, hex #840ba8 is composed of 51.8% red, 4.3% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 21.4% cyan, 93.5% magenta, 0% yellow and 34.1% black. It has a hue angle of 286.2 degrees, a saturation of 87.7% and a lightness of 35.1%. #840ba8 color hex could be obtained by blending #ff16ff with #090051. Closest websafe color is: #990099.

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

#840ba8 color description : Dark magenta.

#840ba8 Color Conversion

The hexadecimal color #840ba8 has RGB values of R:132, G:11, B:168 and CMYK values of C:0.21, M:0.93, Y:0, K:0.34. Its decimal value is 8653736.

Hex triplet 840ba8 #840ba8
RGB Decimal 132, 11, 168 rgb(132,11,168)
RGB Percent 51.8, 4.3, 65.9 rgb(51.8%,4.3%,65.9%)
CMYK 21, 93, 0, 34
HSL 286.2°, 87.7, 35.1 hsl(286.2,87.7%,35.1%)
HSV (or HSB) 286.2°, 93.5, 65.9
Web Safe 990099 #990099
CIE-LAB 33.926, 64.861, -54.364
XYZ 16.702, 7.973, 37.703
xyY 0.268, 0.128, 7.973
CIE-LCH 33.926, 84.631, 320.032
CIE-LUV 33.926, 30.89, -79.664
Hunter-Lab 28.236, 56.175, -59.403
Binary 10000100, 00001011, 10101000

Color Schemes with #840ba8

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

Alternatives to #840ba8

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

Similar Colors

#840ba8 Preview

Text with hexadecimal color #840ba8

This text has a font color of #840ba8.

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

This paragraph has a background color of #840ba8.

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

This element has a border color of #840ba8.

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

Shades and Tints of #840ba8

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

Shade Color Variation
Tint Color Variation

Tones of #840ba8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840ba8 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
  • #414141 Achromatopsia 0.005% of the population
  • #4e3656 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a8 Protanopia 1% of men
  • #005a95 Deuteranopia 1% of men
  • #7a4b50 Tritanopia 0.001% of the population
Trichromacy
  • #303aa8 Protanomaly 1% of men, 0.01% of women
  • #303d9c Deuteranomaly 6% of men, 0.4% of women
  • #7e3370 Tritanomaly 0.01% of the population