#31193C color
The hex color #31193C is a very dark, desaturated magenta.
In the RGB color model it is made of 19.2% red, 9.8% green and 23.5% blue (49, 25, 60).
Its hue angle is 281°, with 41% saturation and 17% lightness. For print, the CMYK equivalent is 18% cyan, 58% magenta, 0% yellow and 76% black.
The closest named color is Dark Purple (#301934), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.73:1).
#31193C color codes
| HEX | #31193C | |
|---|---|---|
| RGB | rgb(49, 25, 60) | |
| RGB percent | rgb(19.2%, 9.8%, 23.5%) | |
| HSL | hsl(281, 41%, 17%) | |
| HSV / HSB | hsv(281, 58%, 24%) | |
| CMYK | cmyk(18%, 58%, 0%, 76%) | |
| CIE LAB | lab(13.68, 19.37, -17.82) | |
| CIE LCH | lch(13.68, 26.32, 317.38) | |
| CIE XYZ | xyz(2.43, 1.675, 4.469) | |
| Decimal | 3217724 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31193C, 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 #31193C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.73:1 | Pass | Pass | Pass |
| #31193C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.73:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #31193C looks to people with the most common types of color vision deficiency.
#11223dProtanopia
no red cones#18243bDeuteranopia
no green cones#301e27Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #31193c; }
.text { color: #31193c; }
.border { border: 2px solid #31193c; }
.transparent { background-color: rgb(49 25 60 / 50%); }
.gradient { background: linear-gradient(to right, #31193c, #3c1936); }
Similar colors
#301934Dark Purple#3b193fCreatures of the Night#2b0f2eDark Prom Queen#442244Purple Void#1c0f33Midnight Monarch#391531Nightly Voyager#2a2243Midnight Velvet#372354Stormy Night
Questions
- What color is #31193C?
- #31193C 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 #31193C?
- The RGB value is 49, 25, 60: 49 red, 25 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #31193C?
- The complementary color is #243C19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31193C?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.73:1. WCAG asks for at least 4.5:1 for normal text.