#2D1833

Closest named color: Eggplant (#380835). oklch(25.1% 0.057 318.5), rgb(45, 24, 51).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.057)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.29:1
White text16.27:1

Values

HEX#2D1833
RGBrgb(45, 24, 51)
HSLhsl(287, 36%, 15%)
OKLCHoklch(25.1% 0.057 318.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 #2D1833 16.27:1 AAA Lc -105.6 Preferred for body text
Black text on #2D1833 1.29:1 Fails Lc 0.0 Not readable
#2D1833 text on white 16.27:1 AAA Lc 103.1 Preferred for body text
#2D1833 text on black 1.29: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

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E4D2E9

    oklch(88.5% 0.037 318.9)

  4. Step 300

    300

    #D3B3DD

    oklch(80.8% 0.068 318.1)

  5. Step 400

    400

    #BD8BCC

    oklch(70.8% 0.107 318.3)

  6. Step 500

    500

    #AC6CBE

    oklch(63.1% 0.137 318.6)

  7. Step 600

    600

    #9752AA

    oklch(55.5% 0.149 318.6)

  8. Step 700

    700

    #814292

    oklch(49.1% 0.139 318.7)

  9. Step 800

    800

    #693777

    oklch(42.7% 0.116 318.5)

  10. Step 900

    900

    #553060

    oklch(37.6% 0.09 318.1)

  11. Step 950

    950 (this color)

    #2D1833

    oklch(25.1% 0.057 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D1833 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)#141F340.049
Deuteranopia (no green cones)#1921320.046
Tritanopia (no blue cones)#2D1C230.037
Achromatopsia (no color)#2020200.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1833

    #2D1833

    oklch(25.1% 0.057 318.5)

  • #13280B

    #13280B

    oklch(25.1% 0.057 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1833

    #2D1833

    oklch(25.1% 0.057 318.5)

  • #211C3B

    #211C3B

    oklch(25% 0.057 288.9)

  • #351526

    #351526

    oklch(25% 0.057 348.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D1833

    #2D1833

    oklch(25.1% 0.057 318.5)

  • #242300

    #242300

    oklch(24.9% 0.054 108.1)

  • #00291D

    #00291D

    oklch(25% 0.05 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1833

    #2D1833

    oklch(25.1% 0.057 318.5)

  • #2F1E00

    #2F1E00

    oklch(25% 0.052 78.5)

  • #002829

    #002829

    oklch(25.1% 0.043 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1833

    #2D1833

    oklch(25.1% 0.057 318.5)

  • #371806

    #371806

    oklch(25.1% 0.057 48.5)

  • #13280B

    #13280B

    oklch(25.1% 0.057 138)

  • #002634

    #002634

    oklch(25.1% 0.049 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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