#2E263E color
The hex color #2E263E is a very dark, grayish violet.
In the RGB color model it is made of 18% red, 14.9% green and 24.3% blue (46, 38, 62).
Its hue angle is 260°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 26% cyan, 39% 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.35:1).
#2E263E color codes
| HEX | #2E263E | |
|---|---|---|
| RGB | rgb(46, 38, 62) | |
| RGB percent | rgb(18%, 14.9%, 24.3%) | |
| HSL | hsl(260, 24%, 20%) | |
| HSV / HSB | hsv(260, 39%, 24%) | |
| CMYK | cmyk(26%, 39%, 0%, 76%) | |
| CIE LAB | lab(17.06, 9.86, -13.95) | |
| CIE LCH | lch(17.06, 17.08, 305.24) | |
| CIE XYZ | xyz(2.689, 2.315, 4.862) | |
| Decimal | 3024446 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E263E, 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 #2E263E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.35:1 | Pass | Pass | Pass |
| #2E263E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.35: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 #2E263E looks to people with the most common types of color vision deficiency.
#202a3fProtanopia
no red cones#222a3dDeuteranopia
no green cones#2b2a2fTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #2e263e; }
.text { color: #2e263e; }
.border { border: 2px solid #2e263e; }
.transparent { background-color: rgb(46 38 62 / 50%); }
.gradient { background: linear-gradient(to right, #2e263e, #3a263e); }
Similar colors
#2a2243Midnight Velvet#3c2f4eSanctum of Shadows#2c2e47Midnight Masquerade#222244Black Market#3f354fMaharaja#372d52Midnight Pie#222233Black Velvet#42364cCall It a Night
Closest common color name: Dark Purple.
Questions
- What color is #2E263E?
- #2E263E is a very dark, grayish violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #2E263E?
- The RGB value is 46, 38, 62: 46 red, 38 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #2E263E?
- The complementary color is #363E26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E263E?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.35:1. WCAG asks for at least 4.5:1 for normal text.