#2B0D21

Closest named color: Eggplant (#380835). oklch(21.6% 0.058 342.3), rgb(43, 13, 33).

Aa

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

About this color

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

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

Values

HEX#2B0D21
RGBrgb(43, 13, 33)
HSLhsl(320, 54%, 11%)
OKLCHoklch(21.6% 0.058 342.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2B0D21 17.76:1 AAA Lc -106.6 Preferred for body text
Black text on #2B0D21 1.18:1 Fails Lc 0.0 Not readable
#2B0D21 text on white 17.76:1 AAA Lc 104.3 Preferred for body text
#2B0D21 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5ED

    oklch(93.6% 0.019 344)

  3. Step 200

    200

    #ECD0E0

    oklch(88.6% 0.038 342.6)

  4. Step 300

    300

    #E1B0CD

    oklch(81% 0.068 342.5)

  5. Step 400

    400

    #D084B3

    oklch(70.6% 0.111 342.6)

  6. Step 500

    500

    #C264A1

    oklch(63.2% 0.14 342.3)

  7. Step 600

    600

    #AD488B

    oklch(55.6% 0.153 342.7)

  8. Step 700

    700

    #943976

    oklch(49.1% 0.142 342.6)

  9. Step 800

    800

    #783060

    oklch(42.6% 0.117 342.5)

  10. Step 900

    900

    #612B4F

    oklch(37.6% 0.092 341.8)

  11. Step 950

    950 (this color)

    #2B0D21

    oklch(21.6% 0.058 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#2B0D21 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)#0F15220.062
Deuteranopia (no green cones)#181A200.055
Tritanopia (no blue cones)#2E0D150.025
Achromatopsia (no color)#1818180.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B0D21

    #2B0D21

    oklch(21.6% 0.058 342.3)

  • #002013

    #002013

    oklch(21.5% 0.047 162.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B0D21

    #2B0D21

    oklch(21.6% 0.058 342.3)

  • #23102D

    #23102D

    oklch(21.6% 0.059 312.7)

  • #2F0C12

    #2F0C12

    oklch(21.6% 0.057 12.9)

Open the analogous palette in the generator

Split complementary

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

  • #2B0D21

    #2B0D21

    oklch(21.6% 0.058 342.3)

  • #0F1F01

    #0F1F01

    oklch(21.7% 0.058 132.2)

  • #001F1E

    #001F1E

    oklch(21.6% 0.037 191.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B0D21

    #2B0D21

    oklch(21.6% 0.058 342.3)

  • #1E1A00

    #1E1A00

    oklch(21.6% 0.045 101.6)

  • #001E27

    #001E27

    oklch(21.8% 0.04 221.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B0D21

    #2B0D21

    oklch(21.6% 0.058 342.3)

  • #271600

    #271600

    oklch(21.8% 0.047 72.6)

  • #002013

    #002013

    oklch(21.5% 0.047 162.7)

  • #031A33

    #031A33

    oklch(21.6% 0.058 252.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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