#31192E color
The hex color #31192E is a very dark, desaturated magenta.
In the RGB color model it is made of 19.2% red, 9.8% green and 18% blue (49, 25, 46).
Its hue angle is 308°, with 32% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 49% magenta, 6% yellow and 81% black.
The closest named color is Dark Purple (#301934), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.04:1).
#31192E color codes
| HEX | #31192E | |
|---|---|---|
| RGB | rgb(49, 25, 46) | |
| RGB percent | rgb(19.2%, 9.8%, 18%) | |
| HSL | hsl(308, 32%, 15%) | |
| HSV / HSB | hsv(308, 49%, 19%) | |
| CMYK | cmyk(0%, 49%, 6%, 81%) | |
| CIE LAB | lab(12.9, 15.92, -9.01) | |
| CIE LCH | lch(12.9, 18.29, 330.48) | |
| CIE XYZ | xyz(2.107, 1.546, 2.772) | |
| Decimal | 3217710 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31192E, 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 #31192E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.04:1 | Pass | Pass | Pass |
| #31192E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.04:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #31192E looks to people with the most common types of color vision deficiency.
#181f2fProtanopia
no red cones#1f232dDeuteranopia
no green cones#331b21Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #31192e; }
.text { color: #31192e; }
.border { border: 2px solid #31192e; }
.transparent { background-color: rgb(49 25 46 / 50%); }
.gradient { background: linear-gradient(to right, #31192e, #311922); }
Similar colors
#301934Dark Purple#391531Nightly Voyager#2b0f2eDark Prom Queen#2c1620Black Cherry#1d0d1dShot in the Dark#3b193fCreatures of the Night#43182fBlackberry#442244Purple Void
Questions
- What color is #31192E?
- #31192E is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #31192E?
- The RGB value is 49, 25, 46: 49 red, 25 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #31192E?
- The complementary color is #19311C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31192E?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.04:1. WCAG asks for at least 4.5:1 for normal text.