#2D1B33

Closest named color: Dark (#1B2431). oklch(25.7% 0.05 317.4), rgb(45, 27, 51).

Aa

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

About this color

#2D1B33 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.050 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.043 away. White text reads best on it, at 15.95:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.050)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.31:1
White text15.95:1

Values

HEX#2D1B33
RGBrgb(45, 27, 51)
HSLhsl(285, 31%, 15%)
OKLCHoklch(25.7% 0.05 317.4)

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 #2D1B33 15.95:1 AAA Lc -105.4 Preferred for body text
Black text on #2D1B33 1.31:1 Fails Lc 0.0 Not readable
#2D1B33 text on white 15.95:1 AAA Lc 102.8 Preferred for body text
#2D1B33 text on black 1.31: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E2D3E8

    oklch(88.5% 0.033 316.4)

  4. Step 300

    300

    #D1B5DA

    oklch(80.9% 0.06 317.9)

  5. Step 400

    400

    #B98EC8

    oklch(70.7% 0.095 317.2)

  6. Step 500

    500

    #A771B9

    oklch(63.1% 0.12 317.4)

  7. Step 600

    600

    #9258A5

    oklch(55.6% 0.131 317.4)

  8. Step 700

    700

    #7C478E

    oklch(49% 0.123 317)

  9. Step 800

    800

    #653B73

    oklch(42.7% 0.102 317.2)

  10. Step 900

    900

    #53335D

    oklch(37.8% 0.08 317.8)

  11. Step 950

    950 (this color)

    #2D1B33

    oklch(25.7% 0.05 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D1B33 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)#1721340.043
Deuteranopia (no green cones)#1C22320.038
Tritanopia (no blue cones)#2D1E240.033
Achromatopsia (no color)#2222220.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1B33

    #2D1B33

    oklch(25.7% 0.05 317.4)

  • #172910

    #172910

    oklch(25.8% 0.05 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1B33

    #2D1B33

    oklch(25.7% 0.05 317.4)

  • #221F3A

    #221F3A

    oklch(25.7% 0.05 287.4)

  • #341828

    #341828

    oklch(25.5% 0.051 346)

Open the analogous palette in the generator

Split complementary

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

  • #2D1B33

    #2D1B33

    oklch(25.7% 0.05 317.4)

  • #262504

    #262504

    oklch(25.8% 0.05 107.8)

  • #022B1E

    #022B1E

    oklch(25.7% 0.051 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1B33

    #2D1B33

    oklch(25.7% 0.05 317.4)

  • #302003

    #302003

    oklch(25.7% 0.049 78.9)

  • #002A2B

    #002A2B

    oklch(25.9% 0.044 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1B33

    #2D1B33

    oklch(25.7% 0.05 317.4)

  • #371B0C

    #371B0C

    oklch(25.8% 0.051 47.5)

  • #172910

    #172910

    oklch(25.8% 0.05 137.6)

  • #002836

    #002836

    oklch(25.8% 0.05 226.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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