#800040 color
The hex color #800040 is a dark, vivid rose.
In the RGB color model it is made of 50.2% red, 0% green and 25.1% blue (128, 0, 64).
Its hue angle is 330°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 50% yellow and 50% black.
The closest named color is Merlot (#730039), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.54:1).
#800040 color codes
| HEX | #800040 | |
|---|---|---|
| RGB | rgb(128, 0, 64) | |
| RGB percent | rgb(50.2%, 0%, 25.1%) | |
| HSL | hsl(330, 100%, 25%) | |
| HSV / HSB | hsv(330, 100%, 50%) | |
| CMYK | cmyk(0%, 100%, 50%, 50%) | |
| CIE LAB | lab(26.62, 50.97, 0.51) | |
| CIE LCH | lch(26.62, 50.97, 0.57) | |
| CIE XYZ | xyz(9.828, 4.961, 5.29) | |
| Decimal | 8388672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #800040, 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 #800040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.54:1 | Pass | Pass | Pass |
| #800040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.54:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #800040 looks to people with the most common types of color vision deficiency.
#293041Protanopia
no red cones#4a473dDeuteranopia
no green cones#8c0023Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #800040; }
.text { color: #800040; }
.border { border: 2px solid #800040; }
.transparent { background-color: rgb(128 0 64 / 50%); }
.gradient { background: linear-gradient(to right, #800040, #800000); }
Similar colors
#730039Merlot#820e3bInescapable Lover#6f123cHer Fierceness#7e203fBeet Red#941751Wine Grape#980b4aAristocratic Velvet#990f4bBerry#990055Vertigo Cherry
Closest common color name: Tyrian Purple.
Questions
- What color is #800040?
- #800040 is a dark, vivid rose, closest to the named color Merlot. It belongs to the red family of colors.
- What is the RGB value of #800040?
- The RGB value is 128, 0, 64: 128 red, 0 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #800040?
- The complementary color is #008040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #800040?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.54:1. WCAG asks for at least 4.5:1 for normal text.