#840cdb Color Information

In a RGB color space, hex #840cdb is composed of 51.8% red, 4.7% green and 85.9% blue. Whereas in a CMYK color space, it is composed of 39.7% cyan, 94.5% magenta, 0% yellow and 14.1% black. It has a hue angle of 274.8 degrees, a saturation of 89.6% and a lightness of 45.3%. #840cdb color hex could be obtained by blending #ff18ff with #0900b7. Closest websafe color is: #9900cc.

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

#840cdb color description : Vivid violet.

#840cdb Color Conversion

The hexadecimal color #840cdb has RGB values of R:132, G:12, B:219 and CMYK values of C:0.4, M:0.95, Y:0, K:0.14. Its decimal value is 8654043.

Hex triplet 840cdb #840cdb
RGB Decimal 132, 12, 219 rgb(132,12,219)
RGB Percent 51.8, 4.7, 85.9 rgb(51.8%,4.7%,85.9%)
CMYK 40, 95, 0, 14
HSL 274.8°, 89.6, 45.3 hsl(274.8,89.6%,45.3%)
HSV (or HSB) 274.8°, 94.5, 85.9
Web Safe 9900cc #9900cc
CIE-LAB 38.346, 74.739, -77.101
XYZ 22.431, 10.283, 67.817
xyY 0.223, 0.102, 10.283
CIE-LCH 38.346, 107.38, 314.109
CIE-LUV 38.346, 19.042, -112.097
Hunter-Lab 32.067, 68.744, -102.941
Binary 10000100, 00001100, 11011011

Color Schemes with #840cdb

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

Alternatives to #840cdb

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

Similar Colors

#840cdb Preview

Text with hexadecimal color #840cdb

This text has a font color of #840cdb.

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

This paragraph has a background color of #840cdb.

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

This element has a border color of #840cdb.

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

Shades and Tints of #840cdb

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, #09010e is the darkest color, while #fdfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840cdb

A tone is produced by adding gray to any pure hue. In this case, #746e79 is the less saturated color, while #8503e4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cdb 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
  • #474747 Achromatopsia 0.005% of the population
  • #533b65 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0060ba Protanopia 1% of men
  • #0065a3 Deuteranopia 1% of men
  • #6b5f66 Tritanopia 0.001% of the population
Trichromacy
  • #3041c6 Protanomaly 1% of men, 0.01% of women
  • #3044b7 Deuteranomaly 6% of men, 0.4% of women
  • #744190 Tritanomaly 0.01% of the population