#2D183A

Closest named color: Eggplant (#380835). oklch(25.5% 0.067 311), rgb(45, 24, 58).

Aa

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

About this color

#2D183A is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.067 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.041 away. White text reads best on it, at 16.11:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.067)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.30:1
White text16.11:1

Values

HEX#2D183A
RGBrgb(45, 24, 58)
HSLhsl(277, 41%, 16%)
OKLCHoklch(25.5% 0.067 311)

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 #2D183A 16.11:1 AAA Lc -105.5 Preferred for body text
Black text on #2D183A 1.30:1 Fails Lc 0.0 Not readable
#2D183A text on white 16.11:1 AAA Lc 102.9 Preferred for body text
#2D183A text on black 1.30: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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D1B3E7

    oklch(81% 0.079 310.7)

  5. Step 400

    400

    #BA89DA

    oklch(70.7% 0.126 311.2)

  6. Step 500

    500

    #A869D0

    oklch(63.1% 0.161 310.8)

  7. Step 600

    600

    #944EBD

    oklch(55.7% 0.175 311.1)

  8. Step 700

    700

    #7E3EA3

    oklch(49.2% 0.163 311)

  9. Step 800

    800

    #663484

    oklch(42.7% 0.134 310.8)

  10. Step 900

    900

    #532E6A

    oklch(37.6% 0.106 310.8)

  11. Step 950

    950 (this color)

    #2D183A

    oklch(25.5% 0.067 311)

Export this scale for Tailwind in the Tailwind colors tool

#2D183A 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)#0F203B0.055
Deuteranopia (no green cones)#1621390.049
Tritanopia (no blue cones)#2C1E260.047
Achromatopsia (no color)#2121210.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D183A

    #2D183A

    oklch(25.5% 0.067 311)

  • #172902

    #172902

    oklch(25.6% 0.067 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D183A

    #2D183A

    oklch(25.5% 0.067 311)

  • #1E1E42

    #1E1E42

    oklch(25.6% 0.066 280.7)

  • #37142C

    #37142C

    oklch(25.5% 0.066 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D183A

    #2D183A

    oklch(25.5% 0.067 311)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

  • #002B1A

    #002B1A

    oklch(25.5% 0.056 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D183A

    #2D183A

    oklch(25.5% 0.067 311)

  • #331D00

    #331D00

    oklch(25.4% 0.055 70.1)

  • #002928

    #002928

    oklch(25.4% 0.044 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D183A

    #2D183A

    oklch(25.5% 0.067 311)

  • #3C1506

    #3C1506

    oklch(25.4% 0.066 40.7)

  • #172902

    #172902

    oklch(25.6% 0.067 131.1)

  • #002833

    #002833

    oklch(25.6% 0.047 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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