#2B1024

Closest named color: Eggplant (#380835). oklch(22.3% 0.054 338.1), rgb(43, 16, 36).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.20:1
White text17.46:1

Values

HEX#2B1024
RGBrgb(43, 16, 36)
HSLhsl(316, 46%, 12%)
OKLCHoklch(22.3% 0.054 338.1)

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 #2B1024 17.46:1 AAA Lc -106.4 Preferred for body text
Black text on #2B1024 1.20:1 Fails Lc 0.0 Not readable
#2B1024 text on white 17.46:1 AAA Lc 104.1 Preferred for body text
#2B1024 text on black 1.20: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

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD1E1

    oklch(88.6% 0.035 339.2)

  4. Step 300

    300

    #DDB1CF

    oklch(80.9% 0.064 338.1)

  5. Step 400

    400

    #CB87B7

    oklch(70.7% 0.104 338.2)

  6. Step 500

    500

    #BC67A5

    oklch(63.1% 0.133 338.1)

  7. Step 600

    600

    #A74D90

    oklch(55.6% 0.144 338.2)

  8. Step 700

    700

    #8F3E7A

    oklch(49.2% 0.133 338.5)

  9. Step 800

    800

    #743364

    oklch(42.7% 0.111 337.8)

  10. Step 900

    900

    #5E2E51

    oklch(37.8% 0.085 338.4)

  11. Step 950

    950 (this color)

    #2B1024

    oklch(22.3% 0.054 338.1)

Export this scale for Tailwind in the Tailwind colors tool

#2B1024 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)#1117250.056
Deuteranopia (no green cones)#181B230.051
Tritanopia (no blue cones)#2E11180.026
Achromatopsia (no color)#1A1A1A0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B1024

    #2B1024

    oklch(22.3% 0.054 338.1)

  • #002212

    #002212

    oklch(22.2% 0.051 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B1024

    #2B1024

    oklch(22.3% 0.054 338.1)

  • #22132F

    #22132F

    oklch(22.2% 0.056 307.2)

  • #300F16

    #300F16

    oklch(22.4% 0.054 9.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B1024

    #2B1024

    oklch(22.3% 0.054 338.1)

  • #142002

    #142002

    oklch(22.4% 0.054 128)

  • #00211F

    #00211F

    oklch(22.3% 0.039 189)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B1024

    #2B1024

    oklch(22.3% 0.054 338.1)

  • #211B00

    #211B00

    oklch(22.2% 0.046 97.7)

  • #002028

    #002028

    oklch(22.5% 0.04 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B1024

    #2B1024

    oklch(22.3% 0.054 338.1)

  • #2A1600

    #2A1600

    oklch(22.3% 0.049 67.6)

  • #002212

    #002212

    oklch(22.2% 0.051 158.9)

  • #031D33

    #031D33

    oklch(22.4% 0.054 247.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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