#840df2 Color Information

In a RGB color space, hex #840df2 is composed of 51.8% red, 5.1% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 94.6% magenta, 0% yellow and 5.1% black. It has a hue angle of 271.2 degrees, a saturation of 89.8% and a lightness of 50%. #840df2 color hex could be obtained by blending #ff1aff with #0900e5. Closest websafe color is: #9900ff.

    • R 52
    • G 5
    • B 95
    RGB color chart
    • C 45
    • M 95
    • Y 0
    • K 5
    CMYK color chart

#840df2 color description : Vivid violet.

#840df2 Color Conversion

The hexadecimal color #840df2 has RGB values of R:132, G:13, B:242 and CMYK values of C:0.45, M:0.95, Y:0, K:0.05. Its decimal value is 8654322.

Hex triplet 840df2 #840df2
RGB Decimal 132, 13, 242 rgb(132,13,242)
RGB Percent 51.8, 5.1, 94.9 rgb(51.8%,5.1%,94.9%)
CMYK 45, 95, 0, 5
HSL 271.2°, 89.8, 50 hsl(271.2,89.8%,50%)
HSV (or HSB) 271.2°, 94.6, 94.9
Web Safe 9900ff #9900ff
CIE-LAB 40.58, 79.375, -86.521
XYZ 25.684, 11.604, 84.886
xyY 0.21, 0.095, 11.604
CIE-LCH 40.58, 117.415, 312.534
CIE-LUV 40.58, 14.903, -125.82
Hunter-Lab 34.065, 74.97, -123.899
Binary 10000100, 00001101, 11110010

Color Schemes with #840df2

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

Alternatives to #840df2

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

Similar Colors

#840df2 Preview

Text with hexadecimal color #840df2

This text has a font color of #840df2.

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

This paragraph has a background color of #840df2.

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

This element has a border color of #840df2.

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

Shades and Tints of #840df2

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, #0a0113 is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840df2

A tone is produced by adding gray to any pure hue. In this case, #807986 is the less saturated color, while #8403fc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840df2 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #563f6c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0065c4 Protanopia 1% of men
  • #006aaa Deuteranopia 1% of men
  • #616870 Tritanopia 0.001% of the population
Trichromacy
  • #3045d4 Protanomaly 1% of men, 0.01% of women
  • #3048c4 Deuteranomaly 6% of men, 0.4% of women
  • #6d479f Tritanomaly 0.01% of the population