#31243E color
The hex color #31243E is a very dark, desaturated violet.
In the RGB color model it is made of 19.2% red, 14.1% green and 24.3% blue (49, 36, 62).
Its hue angle is 270°, with 27% saturation and 19% lightness. For print, the CMYK equivalent is 21% cyan, 42% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.46:1).
#31243E color codes
| HEX | #31243E | |
|---|---|---|
| RGB | rgb(49, 36, 62) | |
| RGB percent | rgb(19.2%, 14.1%, 24.3%) | |
| HSL | hsl(270, 27%, 19%) | |
| HSV / HSB | hsv(270, 42%, 24%) | |
| CMYK | cmyk(21%, 42%, 0%, 76%) | |
| CIE LAB | lab(16.81, 12.39, -14.32) | |
| CIE LCH | lch(16.81, 18.94, 310.88) | |
| CIE XYZ | xyz(2.767, 2.263, 4.847) | |
| Decimal | 3220542 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31243E, 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 #31243E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.46:1 | Pass | Pass | Pass |
| #31243E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.46: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 #31243E looks to people with the most common types of color vision deficiency.
#1f293fProtanopia
no red cones#212a3dDeuteranopia
no green cones#2f282eTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #31243e; }
.text { color: #31243e; }
.border { border: 2px solid #31243e; }
.transparent { background-color: rgb(49 36 62 / 50%); }
.gradient { background: linear-gradient(to right, #31243e, #3e243e); }
Similar colors
#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#301934Dark Purple#372d52Midnight Pie#3f354fMaharaja#222244Black Market#42364cCall It a Night#403547Royal Decree
Questions
- What color is #31243E?
- #31243E 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 #31243E?
- The RGB value is 49, 36, 62: 49 red, 36 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #31243E?
- The complementary color is #313E24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31243E?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.46:1. WCAG asks for at least 4.5:1 for normal text.