#840cab Color Information

In a RGB color space, hex #840cab is composed of 51.8% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 22.8% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 285.3 degrees, a saturation of 86.9% and a lightness of 35.9%. #840cab color hex could be obtained by blending #ff18ff with #090057. Closest websafe color is: #990099.

    • R 52
    • G 5
    • B 67
    RGB color chart
    • C 23
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#840cab color description : Dark magenta.

#840cab Color Conversion

The hexadecimal color #840cab has RGB values of R:132, G:12, B:171 and CMYK values of C:0.23, M:0.93, Y:0, K:0.33. Its decimal value is 8653995.

Hex triplet 840cab #840cab
RGB Decimal 132, 12, 171 rgb(132,12,171)
RGB Percent 51.8, 4.7, 67.1 rgb(51.8%,4.7%,67.1%)
CMYK 23, 93, 0, 33
HSL 285.3°, 86.9, 35.9 hsl(285.3,86.9%,35.9%)
HSV (or HSB) 285.3°, 93, 67.1
Web Safe 990099 #990099
CIE-LAB 34.21, 65.275, -55.705
XYZ 16.997, 8.109, 39.196
xyY 0.264, 0.126, 8.109
CIE-LCH 34.21, 85.813, 319.523
CIE-LUV 34.21, 30.021, -81.603
Hunter-Lab 28.477, 56.705, -61.673
Binary 10000100, 00001100, 10101011

Color Schemes with #840cab

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

Alternatives to #840cab

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

Similar Colors

#840cab Preview

Text with hexadecimal color #840cab

This text has a font color of #840cab.

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

This paragraph has a background color of #840cab.

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

This element has a border color of #840cab.

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

Shades and Tints of #840cab

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

Shade Color Variation
Tint Color Variation

Tones of #840cab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cab 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
  • #4f3757 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a9 Protanopia 1% of men
  • #005b96 Deuteranopia 1% of men
  • #7a4c51 Tritanopia 0.001% of the population
Trichromacy
  • #303ba9 Protanomaly 1% of men, 0.01% of women
  • #303e9d Deuteranomaly 6% of men, 0.4% of women
  • #7d3572 Tritanomaly 0.01% of the population