#2D1E32

Closest named color: Dark (#1B2431). oklch(26.3% 0.042 317.5), rgb(45, 30, 50).

Aa

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

About this color

#2D1E32 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.042 and its hue 317°. 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.63:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.042)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.34:1
White text15.63:1

Values

HEX#2D1E32
RGBrgb(45, 30, 50)
HSLhsl(285, 25%, 16%)
OKLCHoklch(26.3% 0.042 317.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 #2D1E32 15.63:1 AAA Lc -105.2 Preferred for body text
Black text on #2D1E32 1.34:1 Fails Lc 0.0 Not readable
#2D1E32 text on white 15.63:1 AAA Lc 102.5 Preferred for body text
#2D1E32 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

    #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

    #CEB7D6

    oklch(80.9% 0.05 317.4)

  5. Step 400

    400

    #B591C1

    oklch(70.6% 0.079 317.6)

  6. Step 500

    500

    #A375B2

    oklch(63.1% 0.103 317.6)

  7. Step 600

    600

    #8E5D9D

    oklch(55.6% 0.111 318)

  8. Step 700

    700

    #784D87

    oklch(49.2% 0.102 317)

  9. Step 800

    800

    #623F6D

    oklch(42.7% 0.085 317.8)

  10. Step 900

    900

    #503659

    oklch(37.8% 0.067 317.1)

  11. Step 950

    950 (this color)

    #2D1E32

    oklch(26.3% 0.042 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D1E32 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)#1B22330.034
Deuteranopia (no green cones)#1F24310.032
Tritanopia (no blue cones)#2D20250.028
Achromatopsia (no color)#2323230.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1E32

    #2D1E32

    oklch(26.3% 0.042 317.5)

  • #1B2915

    #1B2915

    oklch(26.2% 0.041 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1E32

    #2D1E32

    oklch(26.3% 0.042 317.5)

  • #232138

    #232138

    oklch(26.2% 0.043 287)

  • #341C28

    #341C28

    oklch(26.3% 0.042 349)

Open the analogous palette in the generator

Split complementary

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

  • #2D1E32

    #2D1E32

    oklch(26.3% 0.042 317.5)

  • #27260C

    #27260C

    oklch(26.3% 0.042 106.9)

  • #0C2B20

    #0C2B20

    oklch(26.2% 0.042 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1E32

    #2D1E32

    oklch(26.3% 0.042 317.5)

  • #30220B

    #30220B

    oklch(26.3% 0.042 77.6)

  • #032B2C

    #032B2C

    oklch(26.3% 0.042 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1E32

    #2D1E32

    oklch(26.3% 0.042 317.5)

  • #351E12

    #351E12

    oklch(26.2% 0.042 47.9)

  • #1B2915

    #1B2915

    oklch(26.2% 0.041 136.7)

  • #0A2934

    #0A2934

    oklch(26.4% 0.041 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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