#2D0B21

Closest named color: Eggplant (#380835). oklch(21.7% 0.064 344), rgb(45, 11, 33).

Aa

White text reads best on this color (17.77:1).

About this color

#2D0B21 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.064 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.046 away. White text reads best on it, at 17.77:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.18:1
White text17.77:1

Values

HEX#2D0B21
RGBrgb(45, 11, 33)
HSLhsl(321, 61%, 11%)
OKLCHoklch(21.7% 0.064 344)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2D0B21 17.77:1 AAA Lc -106.5 Preferred for body text
Black text on #2D0B21 1.18:1 Fails Lc 0.0 Not readable
#2D0B21 text on white 17.77:1 AAA Lc 104.3 Preferred for body text
#2D0B21 text on black 1.18: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.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E5AECD

    oklch(81% 0.075 344.1)

  5. Step 400

    400

    #D581B3

    oklch(70.7% 0.12 344.1)

  6. Step 500

    500

    #C85EA0

    oklch(63.1% 0.155 344.2)

  7. Step 600

    600

    #B3418B

    oklch(55.6% 0.168 344.1)

  8. Step 700

    700

    #993276

    oklch(49% 0.156 343.9)

  9. Step 800

    800

    #7D2B60

    oklch(42.8% 0.129 344.2)

  10. Step 900

    900

    #65284F

    oklch(37.8% 0.101 343.8)

  11. Step 950

    950 (this color)

    #2D0B21

    oklch(21.7% 0.064 344)

Export this scale for Tailwind in the Tailwind colors tool

#2D0B21 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0E14220.069
Deuteranopia (no green cones)#181A200.062
Tritanopia (no blue cones)#300B140.027
Achromatopsia (no color)#1818180.064

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2D0B21

    #2D0B21

    oklch(21.7% 0.064 344)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D0B21

    #2D0B21

    oklch(21.7% 0.064 344)

  • #240F2E

    #240F2E

    oklch(21.7% 0.063 313.6)

  • #310A11

    #310A11

    oklch(21.7% 0.063 13.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2D0B21

    #2D0B21

    oklch(21.7% 0.064 344)

  • #0D2000

    #0D2000

    oklch(21.9% 0.063 133.9)

  • #001F1F

    #001F1F

    oklch(21.7% 0.037 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D0B21

    #2D0B21

    oklch(21.7% 0.064 344)

  • #1E1B00

    #1E1B00

    oklch(21.9% 0.046 103.8)

  • #001E28

    #001E28

    oklch(21.8% 0.041 223.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D0B21

    #2D0B21

    oklch(21.7% 0.064 344)

  • #261600

    #261600

    oklch(21.6% 0.046 74.4)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

  • #021A36

    #021A36

    oklch(21.7% 0.063 253.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2D0B21, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2D0B21 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.