#2E1337

Closest named color: Eggplant (#380835). oklch(24.5% 0.073 317), rgb(46, 19, 55).

Aa

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

About this color

#2E1337 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.073 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.030 away. White text reads best on it, at 16.60:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.26:1
White text16.60:1

Values

HEX#2E1337
RGBrgb(46, 19, 55)
HSLhsl(285, 49%, 15%)
OKLCHoklch(24.5% 0.073 317)

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 #2E1337 16.60:1 AAA Lc -105.8 Preferred for body text
Black text on #2E1337 1.26:1 Fails Lc 0.0 Not readable
#2E1337 text on white 16.60:1 AAA Lc 103.3 Preferred for body text
#2E1337 text on black 1.26: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E6

    oklch(80.9% 0.086 316.5)

  5. Step 400

    400

    #C384D9

    oklch(70.7% 0.137 317)

  6. Step 500

    500

    #B361CF

    oklch(63.1% 0.177 316.9)

  7. Step 600

    600

    #9E44BC

    oklch(55.6% 0.192 316.7)

  8. Step 700

    700

    #8735A2

    oklch(49.1% 0.178 316.7)

  9. Step 800

    800

    #6E2D83

    oklch(42.7% 0.147 317)

  10. Step 900

    900

    #592A69

    oklch(37.7% 0.114 316.8)

  11. Step 950

    950 (this color)

    #2E1337

    oklch(24.5% 0.073 317)

Export this scale for Tailwind in the Tailwind colors tool

#2E1337 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)#0A1D380.068
Deuteranopia (no green cones)#141F360.059
Tritanopia (no blue cones)#2E19220.048
Achromatopsia (no color)#1E1E1E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1337

    #2E1337

    oklch(24.5% 0.073 317)

  • #0D2801

    #0D2801

    oklch(24.6% 0.073 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1337

    #2E1337

    oklch(24.5% 0.073 317)

  • #1F1941

    #1F1941

    oklch(24.5% 0.073 286.6)

  • #380F27

    #380F27

    oklch(24.6% 0.072 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #2E1337

    #2E1337

    oklch(24.5% 0.073 317)

  • #242200

    #242200

    oklch(24.6% 0.053 106.4)

  • #00281B

    #00281B

    oklch(24.6% 0.051 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1337

    #2E1337

    oklch(24.5% 0.073 317)

  • #2E1D00

    #2E1D00

    oklch(24.6% 0.051 77.8)

  • #002627

    #002627

    oklch(24.4% 0.041 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1337

    #2E1337

    oklch(24.5% 0.073 317)

  • #391400

    #391400

    oklch(24.6% 0.067 47.8)

  • #0D2801

    #0D2801

    oklch(24.6% 0.073 137.2)

  • #002532

    #002532

    oklch(24.6% 0.047 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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