#31084B color
The hex color #31084B is a very dark, vivid violet.
In the RGB color model it is made of 19.2% red, 3.1% green and 29.4% blue (49, 8, 75).
Its hue angle is 277°, with 81% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 89% magenta, 0% yellow and 71% black.
The closest named color is Hollow Knight (#330055), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.58:1).
#31084B color codes
| HEX | #31084B | |
|---|---|---|
| RGB | rgb(49, 8, 75) | |
| RGB percent | rgb(19.2%, 3.1%, 29.4%) | |
| HSL | hsl(277, 81%, 16%) | |
| HSV / HSB | hsv(277, 89%, 29%) | |
| CMYK | cmyk(35%, 89%, 0%, 71%) | |
| CIE LAB | lab(11.52, 32.5, -31.81) | |
| CIE LCH | lch(11.52, 45.48, 315.61) | |
| CIE XYZ | xyz(2.623, 1.335, 6.775) | |
| Decimal | 3213387 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31084B, 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 #31084B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.58:1 | Pass | Pass | Pass |
| #31084B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.58:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #31084B looks to people with the most common types of color vision deficiency.
#001d4dProtanopia
no red cones#001f4aDeuteranopia
no green cones#2d1a2aTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #31084b; }
.text { color: #31084b; }
.border { border: 2px solid #31084b; }
.transparent { background-color: rgb(49 8 75 / 50%); }
.gradient { background: linear-gradient(to right, #31084b, #4b0844); }
Similar colors
#330055Hollow Knight#220044Your Darkness#3b0346Romanic Scene#37115cWicked Purple#340059Cotinga Purple#341758Fabric of Space#480656Clairvoyant#2d135fVoldemort
Closest common color name: Midnight Blue.
Questions
- What color is #31084B?
- #31084B is a very dark, vivid violet, closest to the named color Hollow Knight. It belongs to the black family of colors.
- What is the RGB value of #31084B?
- The RGB value is 49, 8, 75: 49 red, 8 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #31084B?
- The complementary color is #224B08, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31084B?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.58:1. WCAG asks for at least 4.5:1 for normal text.