#840cb5 Color Information

In a RGB color space, hex #840cb5 is composed of 51.8% red, 4.7% green and 71% blue. Whereas in a CMYK color space, it is composed of 27.1% cyan, 93.4% magenta, 0% yellow and 29% black. It has a hue angle of 282.6 degrees, a saturation of 87.6% and a lightness of 37.8%. #840cb5 color hex could be obtained by blending #ff18ff with #09006b. Closest websafe color is: #9900cc.

    • R 52
    • G 5
    • B 71
    RGB color chart
    • C 27
    • M 93
    • Y 0
    • K 29
    CMYK color chart

#840cb5 color description : Strong violet.

#840cb5 Color Conversion

The hexadecimal color #840cb5 has RGB values of R:132, G:12, B:181 and CMYK values of C:0.27, M:0.93, Y:0, K:0.29. Its decimal value is 8654005.

Hex triplet 840cb5 #840cb5
RGB Decimal 132, 12, 181 rgb(132,12,181)
RGB Percent 51.8, 4.7, 71 rgb(51.8%,4.7%,71%)
CMYK 27, 93, 0, 29
HSL 282.6°, 87.6, 37.8 hsl(282.6,87.6%,37.8%)
HSV (or HSB) 282.6°, 93.4, 71
Web Safe 9900cc #9900cc
CIE-LAB 35.014, 67.173, -60.364
XYZ 17.987, 8.505, 44.408
xyY 0.254, 0.12, 8.505
CIE-LCH 35.014, 90.311, 318.056
CIE-LUV 35.014, 27.414, -88.198
Hunter-Lab 29.164, 59.052, -69.866
Binary 10000100, 00001100, 10110101

Color Schemes with #840cb5

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

Alternatives to #840cb5

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

Similar Colors

#840cb5 Preview

Text with hexadecimal color #840cb5

This text has a font color of #840cb5.

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

This paragraph has a background color of #840cb5.

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

This element has a border color of #840cb5.

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

Shades and Tints of #840cb5

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

Shade Color Variation
Tint Color Variation

Tones of #840cb5

A tone is produced by adding gray to any pure hue. In this case, #625e63 is the less saturated color, while #8705bc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cb5 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
  • #434343 Achromatopsia 0.005% of the population
  • #50385a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0058ac Protanopia 1% of men
  • #005d98 Deuteranopia 1% of men
  • #775056 Tritanopia 0.001% of the population
Trichromacy
  • #303caf Protanomaly 1% of men, 0.01% of women
  • #303fa2 Deuteranomaly 6% of men, 0.4% of women
  • #7c3778 Tritanomaly 0.01% of the population