#840088 color
The hex color #840088 is a dark, vivid magenta.
In the RGB color model it is made of 51.8% red, 0% green and 53.3% blue (132, 0, 136).
Its hue angle is 298°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 3% cyan, 100% magenta, 0% yellow and 47% black.
The closest named color is Dark Magenta (#8B008B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.99:1).
#840088 color codes
| HEX | #840088 | |
|---|---|---|
| RGB | rgb(132, 0, 136) | |
| RGB percent | rgb(51.8%, 0%, 53.3%) | |
| HSL | hsl(298, 100%, 27%) | |
| HSV / HSB | hsv(298, 100%, 53%) | |
| CMYK | cmyk(3%, 100%, 0%, 47%) | |
| CIE LAB | lab(31.08, 60.89, -39.38) | |
| CIE LCH | lch(31.08, 72.51, 327.1) | |
| CIE XYZ | xyz(13.959, 6.684, 23.843) | |
| Decimal | 8650888 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #840088, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #840088 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.99:1 | Pass | Pass | Pass |
| #840088 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.99:1 | Pass | Pass | Pass |
| Sample text | 2.34:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #840088 looks to people with the most common types of color vision deficiency.
#00408bProtanopia
no red cones#2f4e85Deuteranopia
no green cones#88254eTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #840088; }
.text { color: #840088; }
.border { border: 2px solid #840088; }
.transparent { background-color: rgb(132 0 136 / 50%); }
.gradient { background: linear-gradient(to right, #840088, #880048); }
Similar colors
#8b008bDark Magenta#800080Purple#770088Ultraberry#802280Hello Darkness My Old Friend#881177Royal Purpleness#871f78Noble Plum#772299Orb of Discord#661188Extraviolet
Questions
- What color is #840088?
- #840088 is a dark, vivid magenta, closest to the named color Dark Magenta. It belongs to the purple family of colors.
- What is the RGB value of #840088?
- The RGB value is 132, 0, 136: 132 red, 0 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #840088?
- The complementary color is #048800, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #840088?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.99:1. WCAG asks for at least 4.5:1 for normal text.