#311737 color
The hex color #311737 is a very dark, desaturated magenta.
In the RGB color model it is made of 19.2% red, 9% green and 21.6% blue (49, 23, 55).
Its hue angle is 289°, with 41% saturation and 15% lightness. For print, the CMYK equivalent is 11% cyan, 58% magenta, 0% yellow and 78% black.
The closest named color is Dark Purple (#301934), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.05:1).
#311737 color codes
| HEX | #311737 | |
|---|---|---|
| RGB | rgb(49, 23, 55) | |
| RGB percent | rgb(19.2%, 9%, 21.6%) | |
| HSL | hsl(289, 41%, 15%) | |
| HSV / HSB | hsv(289, 58%, 22%) | |
| CMYK | cmyk(11%, 58%, 0%, 78%) | |
| CIE LAB | lab(12.87, 19.39, -15.54) | |
| CIE LCH | lch(12.87, 24.85, 321.3) | |
| CIE XYZ | xyz(2.263, 1.542, 3.792) | |
| Decimal | 3217207 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311737, 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 #311737 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.05:1 | Pass | Pass | Pass |
| #311737 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.05: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 #311737 looks to people with the most common types of color vision deficiency.
#121f38Protanopia
no red cones#192236Deuteranopia
no green cones#311b24Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #311737; }
.text { color: #311737; }
.border { border: 2px solid #311737; }
.transparent { background-color: rgb(49 23 55 / 50%); }
.gradient { background: linear-gradient(to right, #311737, #37172d); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#3b193fCreatures of the Night#391531Nightly Voyager#442244Purple Void#220022Black Sabbath#1c0f33Midnight Monarch#441144Velvet Cosmos
Questions
- What color is #311737?
- #311737 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 #311737?
- The RGB value is 49, 23, 55: 49 red, 23 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #311737?
- The complementary color is #1D3717, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311737?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.05:1. WCAG asks for at least 4.5:1 for normal text.