#2E1F2E

Closest named color: Jet (#212529). oklch(26.4% 0.035 326.5), rgb(46, 31, 46).

Aa

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

About this color

#2E1F2E is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.035 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.034 away. White text reads best on it, at 15.53:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.035)
Temperaturein between
Nearest nameJet (#212529)
Black text1.35:1
White text15.53:1

Values

HEX#2E1F2E
RGBrgb(46, 31, 46)
HSLhsl(300, 19%, 15%)
OKLCHoklch(26.4% 0.035 326.5)

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 #2E1F2E 15.53:1 AAA Lc -105.1 Preferred for body text
Black text on #2E1F2E 1.35:1 Fails Lc 0.0 Not readable
#2E1F2E text on white 15.53:1 AAA Lc 102.4 Preferred for body text
#2E1F2E 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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE7EE

    oklch(93.5% 0.012 325.7)

  3. Step 200

    200

    #E2D4E1

    oklch(88.5% 0.023 328)

  4. Step 300

    300

    #CFB8CF

    oklch(80.9% 0.041 325.9)

  5. Step 400

    400

    #B793B7

    oklch(70.8% 0.066 326.2)

  6. Step 500

    500

    #A577A5

    oklch(63.1% 0.086 326.5)

  7. Step 600

    600

    #8F6090

    oklch(55.6% 0.091 326)

  8. Step 700

    700

    #7A4F7A

    oklch(49.1% 0.085 326.8)

  9. Step 800

    800

    #634163

    oklch(42.7% 0.07 326.7)

  10. Step 900

    900

    #513751

    oklch(37.7% 0.055 326.6)

  11. Step 950

    950 (this color)

    #2E1F2E

    oklch(26.4% 0.035 326.5)

Export this scale for Tailwind in the Tailwind colors tool

#2E1F2E 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)#1E232F0.031
Deuteranopia (no green cones)#22252D0.030
Tritanopia (no blue cones)#2F20240.020
Achromatopsia (no color)#2424240.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1F2E

    #2E1F2E

    oklch(26.4% 0.035 326.5)

  • #1A2A1B

    #1A2A1B

    oklch(26.6% 0.035 146)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1F2E

    #2E1F2E

    oklch(26.4% 0.035 326.5)

  • #272134

    #272134

    oklch(26.4% 0.036 298.4)

  • #331E25

    #331E25

    oklch(26.5% 0.035 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #2E1F2E

    #2E1F2E

    oklch(26.4% 0.035 326.5)

  • #242713

    #242713

    oklch(26.4% 0.034 115.8)

  • #102B24

    #102B24

    oklch(26.5% 0.036 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1F2E

    #2E1F2E

    oklch(26.4% 0.035 326.5)

  • #2C2410

    #2C2410

    oklch(26.4% 0.035 88.2)

  • #0D2A2D

    #0D2A2D

    oklch(26.5% 0.035 204.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1F2E

    #2E1F2E

    oklch(26.4% 0.035 326.5)

  • #322114

    #322114

    oklch(26.5% 0.035 58)

  • #1A2A1B

    #1A2A1B

    oklch(26.6% 0.035 146)

  • #132834

    #132834

    oklch(26.5% 0.035 235.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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