#312949 color
The hex color #312949 is a dark, desaturated violet.
In the RGB color model it is made of 19.2% red, 16.1% green and 28.6% blue (49, 41, 73).
Its hue angle is 255°, with 28% saturation and 22% lightness. For print, the CMYK equivalent is 33% cyan, 44% magenta, 0% yellow and 71% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.6:1).
#312949 color codes
| HEX | #312949 | |
|---|---|---|
| RGB | rgb(49, 41, 73) | |
| RGB percent | rgb(19.2%, 16.1%, 28.6%) | |
| HSL | hsl(255, 28%, 22%) | |
| HSV / HSB | hsv(255, 44%, 29%) | |
| CMYK | cmyk(33%, 44%, 0%, 71%) | |
| CIE LAB | lab(18.89, 12.12, -18.64) | |
| CIE LCH | lch(18.89, 22.23, 303.03) | |
| CIE XYZ | xyz(3.262, 2.72, 6.655) | |
| Decimal | 3221833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312949, 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 #312949 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.6:1 | Pass | Pass | Pass |
| #312949 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.6:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #312949 looks to people with the most common types of color vision deficiency.
#202e4aProtanopia
no red cones#212d48Deuteranopia
no green cones#2c2f35Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #312949; }
.text { color: #312949; }
.border { border: 2px solid #312949; }
.transparent { background-color: rgb(49 41 73 / 50%); }
.gradient { background: linear-gradient(to right, #312949, #412949); }
Similar colors
#2a2243Midnight Velvet#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#222244Black Market#2a2551Pāua#3f354fMaharaja#2c2c57Deep Sea Base
Closest common color name: Dark Purple.
Questions
- What color is #312949?
- #312949 is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #312949?
- The RGB value is 49, 41, 73: 49 red, 41 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #312949?
- The complementary color is #414929, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312949?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.