#31253E color
The hex color #31253E is a very dark, desaturated violet.
In the RGB color model it is made of 19.2% red, 14.5% green and 24.3% blue (49, 37, 62).
Its hue angle is 269°, with 25% saturation and 19% lightness. For print, the CMYK equivalent is 21% cyan, 40% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.34:1).
#31253E color codes
| HEX | #31253E | |
|---|---|---|
| RGB | rgb(49, 37, 62) | |
| RGB percent | rgb(19.2%, 14.5%, 24.3%) | |
| HSL | hsl(269, 25%, 19%) | |
| HSV / HSB | hsv(269, 40%, 24%) | |
| CMYK | cmyk(21%, 40%, 0%, 76%) | |
| CIE LAB | lab(17.1, 11.69, -13.86) | |
| CIE LCH | lch(17.1, 18.13, 310.15) | |
| CIE XYZ | xyz(2.798, 2.324, 4.858) | |
| Decimal | 3220798 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31253E, 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 #31253E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.34:1 | Pass | Pass | Pass |
| #31253E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.34:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #31253E looks to people with the most common types of color vision deficiency.
#202a3fProtanopia
no red cones#222a3dDeuteranopia
no green cones#2f292eTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #31253e; }
.text { color: #31253e; }
.border { border: 2px solid #31253e; }
.transparent { background-color: rgb(49 37 62 / 50%); }
.gradient { background: linear-gradient(to right, #31253e, #3d253e); }
Similar colors
#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#301934Dark Purple#372d52Midnight Pie#3f354fMaharaja#42364cCall It a Night#222244Black Market#403547Royal Decree
Questions
- What color is #31253E?
- #31253E is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #31253E?
- The RGB value is 49, 37, 62: 49 red, 37 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #31253E?
- The complementary color is #323E25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31253E?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.34:1. WCAG asks for at least 4.5:1 for normal text.