#540027 color
The hex color #540027 is a very dark, vivid rose.
In the RGB color model it is made of 32.9% red, 0% green and 15.3% blue (84, 0, 39).
Its hue angle is 332°, with 100% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 54% yellow and 67% black.
The closest named color is Evil Empire (#4C022F), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.93:1).
#540027 color codes
| HEX | #540027 | |
|---|---|---|
| RGB | rgb(84, 0, 39) | |
| RGB percent | rgb(32.9%, 0%, 15.3%) | |
| HSL | hsl(332, 100%, 16%) | |
| HSV / HSB | hsv(332, 100%, 33%) | |
| CMYK | cmyk(0%, 100%, 54%, 67%) | |
| CIE LAB | lab(15.65, 37.81, 0.95) | |
| CIE LCH | lch(15.65, 37.82, 1.43) | |
| CIE XYZ | xyz(4.023, 2.032, 2.099) | |
| Decimal | 5505063 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #540027, 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 #540027 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.93:1 | Pass | Pass | Pass |
| #540027 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.93:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #540027 looks to people with the most common types of color vision deficiency.
#181d28Protanopia
no red cones#2f2d25Deuteranopia
no green cones#5c0013Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #540027; }
.text { color: #540027; }
.border { border: 2px solid #540027; }
.transparent { background-color: rgb(84 0 39 / 50%); }
.gradient { background: linear-gradient(to right, #540027, #540300); }
Similar colors
#4c022fEvil Empire#441122What We Do in the Shadows#5c1c39Soul Anchor#571e2fDrops of God#670728Plum Cheese#66023cTyrian Purple#6f123cHer Fierceness#730039Merlot
Questions
- What color is #540027?
- #540027 is a very dark, vivid rose, closest to the named color Evil Empire. It belongs to the red family of colors.
- What is the RGB value of #540027?
- The RGB value is 84, 0, 39: 84 red, 0 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #540027?
- The complementary color is #00542D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #540027?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.93:1. WCAG asks for at least 4.5:1 for normal text.