#2E1B28
Closest named color: Jet (#212529). oklch(25.2% 0.037 339.2), rgb(46, 27, 40).
Aa
White text reads best on this color (16.10:1).
About this color
#2E1B28 is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.037 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.040 away. White text reads best on it, at 16.10:1.
| Hue family | Purples |
| Lightness | dark (25%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Jet (#212529) |
| Black text | 1.30:1 |
| White text | 16.10:1 |
Values
| HEX | #2E1B28 |
| RGB | rgb(46, 27, 40) |
| HSL | hsl(319, 26%, 14%) |
| OKLCH | oklch(25.2% 0.037 339.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2E1B28 | 16.10:1 | AAA | Lc -105.6 | Preferred for body text |
| Black text on #2E1B28 | 1.30:1 | Fails | Lc 0.0 | Not readable |
| #2E1B28 text on white | 16.10:1 | AAA | Lc 103.0 | Preferred for body text |
| #2E1B28 text on black | 1.30:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#F0E7ED
oklch(93.7% 0.013 337.5)
-
Step 200
200
#E5D3DE
oklch(88.5% 0.025 340.3)
-
Step 300
300
#D5B6CA
oklch(80.9% 0.044 339.3)
-
Step 400
400
#BF90AF
oklch(70.8% 0.07 339.5)
-
Step 500
500
#AE749B
oklch(63.2% 0.089 339.6)
-
Step 600
600
#995C86
oklch(55.7% 0.097 339.5)
-
Step 700
700
#824B72
oklch(49.1% 0.091 338.7)
-
Step 800
800
#6A3E5C
oklch(42.7% 0.075 339.8)
-
Step 900
900
#56354C
oklch(37.7% 0.059 338.7)
-
Step 950
950 (this color)
#2E1B28
oklch(25.2% 0.037 339.2)
#2E1B28 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1C1F28 | 0.037 |
| Deuteranopia (no green cones) | #202227 | 0.035 |
| Tritanopia (no blue cones) | #301B20 | 0.016 |
| Achromatopsia (no color) | #212121 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2E1B28
#2E1B28
oklch(25.2% 0.037 339.2)
- #11281C
#11281C
oklch(25.4% 0.037 159.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2E1B28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.040
- Dark #1B2431 ΔE 0.043
- Oxford Blue #1B263B ΔE 0.052
- Eggplant #380835 ΔE 0.059
- Rich Black #0D1B2A ΔE 0.061
- Aubergine #3D0734 ΔE 0.062
- Dark Brown #341C02 ΔE 0.063
- Space Cadet #2B2D42 ΔE 0.064
Use #2E1B28 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.