#2E1F32

Closest named color: Dark (#1B2431). oklch(26.6% 0.04 319), rgb(46, 31, 50).

Aa

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

About this color

#2E1F32 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.040 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.037 away. White text reads best on it, at 15.46:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.040)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.35:1
White text15.46:1

Values

HEX#2E1F32
RGBrgb(46, 31, 50)
HSLhsl(287, 23%, 16%)
OKLCHoklch(26.6% 0.04 319)

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 #2E1F32 15.46:1 AAA Lc -105.0 Preferred for body text
Black text on #2E1F32 1.35:1 Fails Lc 0.0 Not readable
#2E1F32 text on white 15.46:1 AAA Lc 102.3 Preferred for body text
#2E1F32 text on black 1.35: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E1D4E5

    oklch(88.5% 0.027 318.2)

  4. Step 300

    300

    #CEB7D5

    oklch(80.8% 0.049 318.3)

  5. Step 400

    400

    #B692BF

    oklch(70.8% 0.076 319.5)

  6. Step 500

    500

    #A376AF

    oklch(63.1% 0.097 319)

  7. Step 600

    600

    #8E5E9B

    oklch(55.7% 0.107 318.9)

  8. Step 700

    700

    #794D84

    oklch(49.1% 0.099 319.4)

  9. Step 800

    800

    #62406B

    oklch(42.8% 0.08 319.1)

  10. Step 900

    900

    #503657

    oklch(37.6% 0.064 319)

  11. Step 950

    950 (this color)

    #2E1F32

    oklch(26.6% 0.04 319)

Export this scale for Tailwind in the Tailwind colors tool

#2E1F32 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)#1D23330.033
Deuteranopia (no green cones)#2025310.032
Tritanopia (no blue cones)#2E21260.026
Achromatopsia (no color)#2424240.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1F32

    #2E1F32

    oklch(26.6% 0.04 319)

  • #1B2A17

    #1B2A17

    oklch(26.5% 0.04 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1F32

    #2E1F32

    oklch(26.6% 0.04 319)

  • #252238

    #252238

    oklch(26.6% 0.041 289.6)

  • #341D29

    #341D29

    oklch(26.6% 0.041 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #2E1F32

    #2E1F32

    oklch(26.6% 0.04 319)

  • #27270E

    #27270E

    oklch(26.6% 0.041 108.9)

  • #0E2C22

    #0E2C22

    oklch(26.7% 0.041 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1F32

    #2E1F32

    oklch(26.6% 0.04 319)

  • #30230D

    #30230D

    oklch(26.6% 0.04 78.8)

  • #062B2D

    #062B2D

    oklch(26.5% 0.04 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1F32

    #2E1F32

    oklch(26.6% 0.04 319)

  • #351F13

    #351F13

    oklch(26.5% 0.04 49)

  • #1B2A17

    #1B2A17

    oklch(26.5% 0.04 139.2)

  • #0D2935

    #0D2935

    oklch(26.6% 0.04 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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