#2D182B
Closest named color: Dark (#1B2431). oklch(24.6% 0.046 330.3), rgb(45, 24, 43).
Aa
White text reads best on this color (16.44:1).
About this color
#2D182B is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.046 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.048 away. White text reads best on it, at 16.44:1.
| Hue family | Purples |
| Lightness | very dark (25%) |
| Chroma | muted (0.046) |
| Temperature | in between |
| Nearest name | Dark (#1B2431) |
| Black text | 1.27:1 |
| White text | 16.44:1 |
Values
| HEX | #2D182B |
| RGB | rgb(45, 24, 43) |
| HSL | hsl(306, 30%, 14%) |
| OKLCH | oklch(24.6% 0.046 330.3) |
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 #2D182B | 16.44:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #2D182B | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #2D182B text on white | 16.44:1 | AAA | Lc 103.3 | Preferred for body text |
| #2D182B text on black | 1.27: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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#F0E6EF
oklch(93.5% 0.016 328.8)
-
Step 200
200
#E5D2E3
oklch(88.4% 0.031 329.1)
-
Step 300
300
#D6B4D2
oklch(80.9% 0.056 329.9)
-
Step 400
400
#C08DBB
oklch(70.7% 0.087 329.8)
-
Step 500
500
#B06FA9
oklch(63.1% 0.113 330.7)
-
Step 600
600
#9B5695
oklch(55.6% 0.123 330.3)
-
Step 700
700
#84467F
oklch(49.1% 0.114 330.2)
-
Step 800
800
#6B3A67
oklch(42.6% 0.094 330.1)
-
Step 900
900
#573254
oklch(37.6% 0.074 329.9)
-
Step 950
950 (this color)
#2D182B
oklch(24.6% 0.046 330.3)
#2D182B 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) | #171D2C | 0.045 |
| Deuteranopia (no green cones) | #1D202A | 0.040 |
| Tritanopia (no blue cones) | #2F191F | 0.025 |
| Achromatopsia (no color) | #1F1F1F | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D182B
#2D182B
oklch(24.6% 0.046 330.3)
- #0E2715
#0E2715
oklch(24.7% 0.046 150.8)
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 #2D182B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.048
- Jet #212529 ΔE 0.049
- Eggplant #380835 ΔE 0.049
- Aubergine #3D0734 ΔE 0.054
- Oxford Blue #1B263B ΔE 0.055
- Dark Plum #3F012C ΔE 0.059
- Dark Purple #35063E ΔE 0.060
- Rich Black #0D1B2A ΔE 0.060
Use #2D182B 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.