Midnight Velvet color: hex code #2A2243
Midnight Velvet has the hex code #2A2243. It is a very dark, desaturated violet.
In the RGB color model it is made of 16.5% red, 13.3% green and 26.3% blue (42, 34, 67).
Its hue angle is 255°, with 33% saturation and 20% lightness. For print, the CMYK equivalent is 37% cyan, 49% magenta, 0% yellow and 74% black.
White text is the more readable choice on this background (contrast 14.91:1).
Midnight Velvet (#2A2243) color codes
| HEX | #2A2243 | |
|---|---|---|
| RGB | rgb(42, 34, 67) | |
| RGB percent | rgb(16.5%, 13.3%, 26.3%) | |
| HSL | hsl(255, 33%, 20%) | |
| HSV / HSB | hsv(255, 49%, 26%) | |
| CMYK | cmyk(37%, 49%, 0%, 74%) | |
| CIE LAB | lab(15.7, 12.83, -19.58) | |
| CIE LCH | lch(15.7, 23.41, 303.23) | |
| CIE XYZ | xyz(2.54, 2.041, 5.569) | |
| Decimal | 2761283 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Midnight Velvet, 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 #2A2243 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.91:1 | Pass | Pass | Pass |
| #2A2243 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.91:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #2A2243 looks to people with the most common types of color vision deficiency.
#182844Protanopia
no red cones#192742Deuteranopia
no green cones#24282fTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #2a2243; }
.text { color: #2a2243; }
.border { border: 2px solid #2a2243; }
.transparent { background-color: rgb(42 34 67 / 50%); }
.gradient { background: linear-gradient(to right, #2a2243, #3a2243); }
Similar colors
#222244Black Market#2a2551Pāua#372d52Midnight Pie#211d49Azulado#322c56Purple Noir#3c2f4eSanctum of Shadows#2c2c57Deep Sea Base#231c4dSilent Orbit
Closest common color name: Dark Purple.
See #2A2243 on its hex code page
Questions
- What color is #2A2243?
- #2A2243 is a very dark, desaturated violet known as Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of Midnight Velvet?
- The RGB value is 42, 34, 67: 42 red, 34 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of Midnight Velvet?
- The complementary color is #3B4322, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A2243?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.91:1. WCAG asks for at least 4.5:1 for normal text.