#31243F color
The hex color #31243F is a very dark, desaturated violet.
In the RGB color model it is made of 19.2% red, 14.1% green and 24.7% blue (49, 36, 63).
Its hue angle is 269°, with 27% saturation and 19% lightness. For print, the CMYK equivalent is 22% cyan, 43% magenta, 0% yellow and 75% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.44:1).
#31243F color codes
| HEX | #31243F | |
|---|---|---|
| RGB | rgb(49, 36, 63) | |
| RGB percent | rgb(19.2%, 14.1%, 24.7%) | |
| HSL | hsl(269, 27%, 19%) | |
| HSV / HSB | hsv(269, 43%, 25%) | |
| CMYK | cmyk(22%, 43%, 0%, 75%) | |
| CIE LAB | lab(16.86, 12.67, -14.93) | |
| CIE LCH | lch(16.86, 19.58, 310.33) | |
| CIE XYZ | xyz(2.795, 2.274, 4.993) | |
| Decimal | 3220543 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31243F, 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 #31243F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.44:1 | Pass | Pass | Pass |
| #31243F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.44:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #31243F looks to people with the most common types of color vision deficiency.
#1e2940Protanopia
no red cones#212a3eDeuteranopia
no green cones#2f282eTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #31243f; }
.text { color: #31243f; }
.border { border: 2px solid #31243f; }
.transparent { background-color: rgb(49 36 63 / 50%); }
.gradient { background: linear-gradient(to right, #31243f, #3f243f); }
Similar colors
#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#301934Dark Purple#372d52Midnight Pie#3f354fMaharaja#222244Black Market#42364cCall It a Night#322c56Purple Noir
Questions
- What color is #31243F?
- #31243F 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 #31243F?
- The RGB value is 49, 36, 63: 49 red, 36 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #31243F?
- The complementary color is #323F24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31243F?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.44:1. WCAG asks for at least 4.5:1 for normal text.