#311544 color
The hex color #311544 is a very dark, moderate violet.
In the RGB color model it is made of 19.2% red, 8.2% green and 26.7% blue (49, 21, 68).
Its hue angle is 276°, with 53% saturation and 17% lightness. For print, the CMYK equivalent is 28% cyan, 69% magenta, 0% yellow and 73% black.
The closest named color is Plunged Into Darkness (#431C53), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.89:1).
#311544 color codes
| HEX | #311544 | |
|---|---|---|
| RGB | rgb(49, 21, 68) | |
| RGB percent | rgb(19.2%, 8.2%, 26.7%) | |
| HSL | hsl(276, 53%, 17%) | |
| HSV / HSB | hsv(276, 69%, 27%) | |
| CMYK | cmyk(28%, 69%, 0%, 73%) | |
| CIE LAB | lab(13.27, 24.06, -24.1) | |
| CIE LCH | lch(13.27, 34.05, 314.96) | |
| CIE XYZ | xyz(2.578, 1.607, 5.642) | |
| Decimal | 3216708 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311544, 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 #311544 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.89:1 | Pass | Pass | Pass |
| #311544 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.89:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #311544 looks to people with the most common types of color vision deficiency.
#022145Protanopia
no red cones#0e2243Deuteranopia
no green cones#2e1e2aTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #311544; }
.text { color: #311544; }
.border { border: 2px solid #311544; }
.transparent { background-color: rgb(49 21 68 / 50%); }
.gradient { background: linear-gradient(to right, #311544, #441540); }
Similar colors
#431c53Plunged Into Darkness#3b193fCreatures of the Night#372354Stormy Night#341758Fabric of Space#3b0346Romanic Scene#220033Coal Mine#1c0f33Midnight Monarch#441144Velvet Cosmos
Closest common color name: Dark Purple.
Questions
- What color is #311544?
- #311544 is a very dark, moderate violet, closest to the named color Plunged Into Darkness. It belongs to the purple family of colors.
- What is the RGB value of #311544?
- The RGB value is 49, 21, 68: 49 red, 21 green and 68 blue on a 0 to 255 scale.
- What is the complementary color of #311544?
- The complementary color is #284415, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311544?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.89:1. WCAG asks for at least 4.5:1 for normal text.