#840cb4 Color Information

In a RGB color space, hex #840cb4 is composed of 51.8% red, 4.7% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 26.7% cyan, 93.3% magenta, 0% yellow and 29.4% black. It has a hue angle of 282.9 degrees, a saturation of 87.5% and a lightness of 37.6%. #840cb4 color hex could be obtained by blending #ff18ff with #090069. 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

#840cb4 color description : Strong violet.

#840cb4 Color Conversion

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

Hex triplet 840cb4 #840cb4
RGB Decimal 132, 12, 180 rgb(132,12,180)
RGB Percent 51.8, 4.7, 70.6 rgb(51.8%,4.7%,70.6%)
CMYK 27, 93, 0, 29
HSL 282.9°, 87.5, 37.6 hsl(282.9,87.5%,37.6%)
HSV (or HSB) 282.9°, 93.3, 70.6
Web Safe 9900cc #9900cc
CIE-LAB 34.932, 66.981, -59.903
XYZ 17.884, 8.464, 43.869
xyY 0.255, 0.121, 8.464
CIE-LCH 34.932, 89.86, 318.193
CIE-LUV 34.932, 27.666, -87.545
Hunter-Lab 29.094, 58.813, -69.036
Binary 10000100, 00001100, 10110100

Color Schemes with #840cb4

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

Alternatives to #840cb4

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

Similar Colors

#840cb4 Preview

Text with hexadecimal color #840cb4

This text has a font color of #840cb4.

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

This paragraph has a background color of #840cb4.

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

This element has a border color of #840cb4.

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

Shades and Tints of #840cb4

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

Shade Color Variation
Tint Color Variation

Tones of #840cb4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cb4 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
  • #775055 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