#291E42 color
The hex color #291E42 is a very dark, desaturated violet.
In the RGB color model it is made of 16.1% red, 11.8% green and 25.9% blue (41, 30, 66).
Its hue angle is 258°, with 38% saturation and 19% lightness. For print, the CMYK equivalent is 38% cyan, 55% magenta, 0% yellow and 74% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.46:1).
#291E42 color codes
| HEX | #291E42 | |
|---|---|---|
| RGB | rgb(41, 30, 66) | |
| RGB percent | rgb(16.1%, 11.8%, 25.9%) | |
| HSL | hsl(258, 38%, 19%) | |
| HSV / HSB | hsv(258, 55%, 26%) | |
| CMYK | cmyk(38%, 55%, 0%, 74%) | |
| CIE LAB | lab(14.36, 15.03, -21.02) | |
| CIE LCH | lch(14.36, 25.84, 305.57) | |
| CIE XYZ | xyz(2.362, 1.793, 5.375) | |
| Decimal | 2694722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #291E42, 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 #291E42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.46:1 | Pass | Pass | Pass |
| #291E42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.46:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #291E42 looks to people with the most common types of color vision deficiency.
#122543Protanopia
no red cones#142441Deuteranopia
no green cones#23252cTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #291e42; }
.text { color: #291e42; }
.border { border: 2px solid #291e42; }
.transparent { background-color: rgb(41 30 66 / 50%); }
.gradient { background: linear-gradient(to right, #291e42, #3b1e42); }
Similar colors
#2a2243Midnight Velvet#211d49Azulado#222244Black Market#2a2551Pāua#231c4dSilent Orbit#1c0f33Midnight Monarch#372354Stormy Night#372d52Midnight Pie
Closest common color name: Dark Purple.
Questions
- What color is #291E42?
- #291E42 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 #291E42?
- The RGB value is 41, 30, 66: 41 red, 30 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #291E42?
- The complementary color is #37421E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #291E42?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.46:1. WCAG asks for at least 4.5:1 for normal text.