#31134A color
The hex color #31134A is a very dark, moderate violet.
In the RGB color model it is made of 19.2% red, 7.5% green and 29% blue (49, 19, 74).
Its hue angle is 273°, with 59% saturation and 18% lightness. For print, the CMYK equivalent is 34% cyan, 74% magenta, 0% yellow and 71% black.
The closest named color is Fabric of Space (#341758), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.88:1).
#31134A color codes
| HEX | #31134A | |
|---|---|---|
| RGB | rgb(49, 19, 74) | |
| RGB percent | rgb(19.2%, 7.5%, 29%) | |
| HSL | hsl(273, 59%, 18%) | |
| HSV / HSB | hsv(273, 74%, 29%) | |
| CMYK | cmyk(34%, 74%, 0%, 71%) | |
| CIE LAB | lab(13.31, 26.89, -28.21) | |
| CIE LCH | lch(13.31, 38.97, 313.63) | |
| CIE XYZ | xyz(2.735, 1.613, 6.645) | |
| Decimal | 3216202 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31134A, 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 #31134A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.88:1 | Pass | Pass | Pass |
| #31134A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.88: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 #31134A looks to people with the most common types of color vision deficiency.
#00214cProtanopia
no red cones#042249Deuteranopia
no green cones#2d1f2cTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #31134a; }
.text { color: #31134a; }
.border { border: 2px solid #31134a; }
.transparent { background-color: rgb(49 19 74 / 50%); }
.gradient { background: linear-gradient(to right, #31134a, #4a1347); }
Similar colors
#341758Fabric of Space#37115cWicked Purple#431c53Plunged Into Darkness#372354Stormy Night#3b0346Romanic Scene#220044Your Darkness#330055Hollow Knight#2d135fVoldemort
Closest common color name: Dark Purple.
Questions
- What color is #31134A?
- #31134A is a very dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
- What is the RGB value of #31134A?
- The RGB value is 49, 19, 74: 49 red, 19 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #31134A?
- The complementary color is #2C4A13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31134A?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.88:1. WCAG asks for at least 4.5:1 for normal text.