#2B1328

Closest named color: Eggplant (#380835). oklch(23.1% 0.052 331.9), rgb(43, 19, 40).

Aa

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

About this color

#2B1328 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.052 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.045 away. White text reads best on it, at 17.12:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.052)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.22:1
White text17.12:1

Values

HEX#2B1328
RGBrgb(43, 19, 40)
HSLhsl(308, 39%, 12%)
OKLCHoklch(23.1% 0.052 331.9)

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 #2B1328 17.12:1 AAA Lc -106.2 Preferred for body text
Black text on #2B1328 1.22:1 Fails Lc 0.0 Not readable
#2B1328 text on white 17.12:1 AAA Lc 103.9 Preferred for body text
#2B1328 text on black 1.22: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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E7D1E3

    oklch(88.4% 0.034 331.9)

  4. Step 300

    300

    #D9B2D3

    oklch(80.8% 0.063 331.4)

  5. Step 400

    400

    #C589BC

    oklch(70.6% 0.1 332)

  6. Step 500

    500

    #B56BAB

    oklch(63.1% 0.126 332)

  7. Step 600

    600

    #A05197

    oklch(55.6% 0.138 331.6)

  8. Step 700

    700

    #894181

    oklch(49.1% 0.129 331.7)

  9. Step 800

    800

    #6F3668

    oklch(42.6% 0.106 332)

  10. Step 900

    900

    #5A3055

    oklch(37.7% 0.081 331.5)

  11. Step 950

    950 (this color)

    #2B1328

    oklch(23.1% 0.052 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#2B1328 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)#1219290.052
Deuteranopia (no green cones)#191D270.047
Tritanopia (no blue cones)#2D151B0.029
Achromatopsia (no color)#1C1C1C0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B1328

    #2B1328

    oklch(23.1% 0.052 331.9)

  • #062410

    #062410

    oklch(23.2% 0.052 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B1328

    #2B1328

    oklch(23.1% 0.052 331.9)

  • #221631

    #221631

    oklch(23% 0.053 303)

  • #30111B

    #30111B

    oklch(23% 0.052 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B1328

    #2B1328

    oklch(23.1% 0.052 331.9)

  • #192102

    #192102

    oklch(23.2% 0.053 122.5)

  • #00231F

    #00231F

    oklch(23% 0.041 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B1328

    #2B1328

    oklch(23.1% 0.052 331.9)

  • #251C00

    #251C00

    oklch(23.1% 0.047 92)

  • #002228

    #002228

    oklch(23.1% 0.04 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B1328

    #2B1328

    oklch(23.1% 0.052 331.9)

  • #2E1601

    #2E1601

    oklch(23% 0.052 60.3)

  • #062410

    #062410

    oklch(23.2% 0.052 151.3)

  • #021F33

    #021F33

    oklch(23% 0.052 242.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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