#2D1F2E

Closest named color: Jet (#212529). oklch(26.3% 0.034 324.3), rgb(45, 31, 46).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.034)
Temperaturein between
Nearest nameJet (#212529)
Black text1.34:1
White text15.58:1

Values

HEX#2D1F2E
RGBrgb(45, 31, 46)
HSLhsl(296, 19%, 15%)
OKLCHoklch(26.3% 0.034 324.3)

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 #2D1F2E 15.58:1 AAA Lc -105.2 Preferred for body text
Black text on #2D1F2E 1.34:1 Fails Lc 0.0 Not readable
#2D1F2E text on white 15.58:1 AAA Lc 102.5 Preferred for body text
#2D1F2E text on black 1.34: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

    #E1D4E2

    oklch(88.5% 0.024 323.6)

  4. Step 300

    300

    #CEB8CF

    oklch(80.8% 0.04 324.6)

  5. Step 400

    400

    #B593B7

    oklch(70.6% 0.064 324.5)

  6. Step 500

    500

    #A378A6

    oklch(63.1% 0.084 324.3)

  7. Step 600

    600

    #8D6191

    oklch(55.6% 0.089 323.8)

  8. Step 700

    700

    #78507B

    oklch(49.1% 0.082 324.3)

  9. Step 800

    800

    #624264

    oklch(42.8% 0.068 324.7)

  10. Step 900

    900

    #503852

    oklch(37.8% 0.053 324)

  11. Step 950

    950 (this color)

    #2D1F2E

    oklch(26.3% 0.034 324.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D1F2E 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.030
Deuteranopia (no green cones)#21242D0.027
Tritanopia (no blue cones)#2E20240.020
Achromatopsia (no color)#2424240.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1F2E

    #2D1F2E

    oklch(26.3% 0.034 324.3)

  • #1A291A

    #1A291A

    oklch(26.2% 0.034 144.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1F2E

    #2D1F2E

    oklch(26.3% 0.034 324.3)

  • #262134

    #262134

    oklch(26.2% 0.036 295.9)

  • #321E26

    #321E26

    oklch(26.4% 0.034 354)

Open the analogous palette in the generator

Split complementary

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

  • #2D1F2E

    #2D1F2E

    oklch(26.3% 0.034 324.3)

  • #242713

    #242713

    oklch(26.4% 0.034 115.8)

  • #112A23

    #112A23

    oklch(26.2% 0.034 173.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1F2E

    #2D1F2E

    oklch(26.3% 0.034 324.3)

  • #2C2311

    #2C2311

    oklch(26.2% 0.033 83.7)

  • #0D292C

    #0D292C

    oklch(26.1% 0.034 204.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1F2E

    #2D1F2E

    oklch(26.3% 0.034 324.3)

  • #322015

    #322015

    oklch(26.3% 0.034 52.2)

  • #1A291A

    #1A291A

    oklch(26.2% 0.034 144.5)

  • #132733

    #132733

    oklch(26.2% 0.034 236.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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