#2D1537

Closest named color: Eggplant (#380835). oklch(24.7% 0.068 315.1), rgb(45, 21, 55).

Aa

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

About this color

#2D1537 is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.068 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.035 away. White text reads best on it, at 16.48:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.068)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.27:1
White text16.48:1

Values

HEX#2D1537
RGBrgb(45, 21, 55)
HSLhsl(282, 45%, 15%)
OKLCHoklch(24.7% 0.068 315.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 #2D1537 16.48:1 AAA Lc -105.7 Preferred for body text
Black text on #2D1537 1.27:1 Fails Lc 0.0 Not readable
#2D1537 text on white 16.48:1 AAA Lc 103.2 Preferred for body text
#2D1537 text on black 1.27: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D1EE

    oklch(88.6% 0.045 315.5)

  4. Step 300

    300

    #D5B1E5

    oklch(80.9% 0.082 315.4)

  5. Step 400

    400

    #BF87D8

    oklch(70.8% 0.129 315)

  6. Step 500

    500

    #AE66CD

    oklch(63.1% 0.165 314.9)

  7. Step 600

    600

    #9A4ABA

    oklch(55.7% 0.18 315.1)

  8. Step 700

    700

    #833AA0

    oklch(49.1% 0.167 315)

  9. Step 800

    800

    #6B3182

    oklch(42.8% 0.139 315.2)

  10. Step 900

    900

    #572C68

    oklch(37.7% 0.108 315.5)

  11. Step 950

    950 (this color)

    #2D1537

    oklch(24.7% 0.068 315.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D1537 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)#0D1E380.061
Deuteranopia (no green cones)#1520360.054
Tritanopia (no blue cones)#2C1A230.045
Achromatopsia (no color)#1F1F1F0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1537

    #2D1537

    oklch(24.7% 0.068 315.1)

  • #112802

    #112802

    oklch(24.8% 0.069 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1537

    #2D1537

    oklch(24.7% 0.068 315.1)

  • #1F1B40

    #1F1B40

    oklch(24.9% 0.068 285.3)

  • #371128

    #371128

    oklch(24.8% 0.068 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D1537

    #2D1537

    oklch(24.7% 0.068 315.1)

  • #252200

    #252200

    oklch(24.7% 0.052 104.7)

  • #00291B

    #00291B

    oklch(24.9% 0.052 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1537

    #2D1537

    oklch(24.7% 0.068 315.1)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #002727

    #002727

    oklch(24.7% 0.042 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1537

    #2D1537

    oklch(24.7% 0.068 315.1)

  • #3A1301

    #3A1301

    oklch(24.6% 0.069 44.7)

  • #112802

    #112802

    oklch(24.8% 0.069 135.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 #2D1537, closest first.

Similar named colors

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

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