#26212E color
The hex color #26212E is a very dark, grayish violet.
In the RGB color model it is made of 14.9% red, 12.9% green and 18% blue (38, 33, 46).
Its hue angle is 263°, with 16% saturation and 15% lightness. For print, the CMYK equivalent is 17% cyan, 28% magenta, 0% yellow and 82% black.
The closest named color is Black Velvet (#222233), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.68:1).
#26212E color codes
| HEX | #26212E | |
|---|---|---|
| RGB | rgb(38, 33, 46) | |
| RGB percent | rgb(14.9%, 12.9%, 18%) | |
| HSL | hsl(263, 16%, 15%) | |
| HSV / HSB | hsv(263, 28%, 18%) | |
| CMYK | cmyk(17%, 28%, 0%, 82%) | |
| CIE LAB | lab(13.81, 5.67, -7.74) | |
| CIE LCH | lch(13.81, 9.6, 306.23) | |
| CIE XYZ | xyz(1.836, 1.697, 2.815) | |
| Decimal | 2498862 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #26212E, 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 #26212E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.68:1 | Pass | Pass | Pass |
| #26212E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.68:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #26212E looks to people with the most common types of color vision deficiency.
#1f232fProtanopia
no red cones#1f232eDeuteranopia
no green cones#252325Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #26212e; }
.text { color: #26212e; }
.border { border: 2px solid #26212e; }
.transparent { background-color: rgb(38 33 46 / 50%); }
.gradient { background: linear-gradient(to right, #26212e, #2d212e); }
Similar colors
#222233Black Velvet#2c2a35Haiti#1f2133Eclipse Elixir#342931Melanzane#1a161dViolet Void#201b20Night Demons#252024Ink Black#27252aDarth Vader
Closest common color name: Licorice.
Questions
- What color is #26212E?
- #26212E is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #26212E?
- The RGB value is 38, 33, 46: 38 red, 33 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #26212E?
- The complementary color is #292E21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #26212E?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.68:1. WCAG asks for at least 4.5:1 for normal text.