#840fa5 Color Information

In a RGB color space, hex #840fa5 is composed of 51.8% red, 5.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 20% cyan, 90.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 286.8 degrees, a saturation of 83.3% and a lightness of 35.3%. #840fa5 color hex could be obtained by blending #ff1eff with #09004b. Closest websafe color is: #990099.

    • R 52
    • G 6
    • B 65
    RGB color chart
    • C 20
    • M 91
    • Y 0
    • K 35
    CMYK color chart

#840fa5 color description : Dark magenta.

#840fa5 Color Conversion

The hexadecimal color #840fa5 has RGB values of R:132, G:15, B:165 and CMYK values of C:0.2, M:0.91, Y:0, K:0.35. Its decimal value is 8654757.

Hex triplet 840fa5 #840fa5
RGB Decimal 132, 15, 165 rgb(132,15,165)
RGB Percent 51.8, 5.9, 64.7 rgb(51.8%,5.9%,64.7%)
CMYK 20, 91, 0, 35
HSL 286.8°, 83.3, 35.3 hsl(286.8,83.3%,35.3%)
HSV (or HSB) 286.8°, 90.9, 64.7
Web Safe 990099 #990099
CIE-LAB 33.909, 63.671, -52.585
XYZ 16.477, 7.965, 36.265
xyY 0.271, 0.131, 7.965
CIE-LCH 33.909, 82.578, 320.447
CIE-LUV 33.909, 31.502, -77.341
Hunter-Lab 28.221, 54.831, -56.433
Binary 10000100, 00001111, 10100101

Color Schemes with #840fa5

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

Alternatives to #840fa5

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

Similar Colors

#840fa5 Preview

Text with hexadecimal color #840fa5

This text has a font color of #840fa5.

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

This paragraph has a background color of #840fa5.

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

This element has a border color of #840fa5.

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

Shades and Tints of #840fa5

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

Shade Color Variation
Tint Color Variation

Tones of #840fa5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840fa5 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
  • #503957 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a8 Protanopia 1% of men
  • #005a96 Deuteranopia 1% of men
  • #7b4a4f Tritanopia 0.001% of the population
Trichromacy
  • #303ca6 Protanomaly 1% of men, 0.01% of women
  • #303f9b Deuteranomaly 6% of men, 0.4% of women
  • #7e356e Tritanomaly 0.01% of the population