#2D1135

Closest named color: Eggplant (#380835). oklch(23.9% 0.074 318.2), rgb(45, 17, 53).

Aa

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

About this color

#2D1135 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.074 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.029 away. White text reads best on it, at 16.89:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.24:1
White text16.89:1

Values

HEX#2D1135
RGBrgb(45, 17, 53)
HSLhsl(287, 51%, 14%)
OKLCHoklch(23.9% 0.074 318.2)

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 #2D1135 16.89:1 AAA Lc -106.0 Preferred for body text
Black text on #2D1135 1.24:1 Fails Lc 0.0 Not readable
#2D1135 text on white 16.89:1 AAA Lc 103.6 Preferred for body text
#2D1135 text on black 1.24: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D9AFE5

    oklch(80.9% 0.087 318.6)

  5. Step 400

    400

    #C583D8

    oklch(70.8% 0.139 318.5)

  6. Step 500

    500

    #B560CE

    oklch(63.1% 0.179 318.1)

  7. Step 600

    600

    #A042BA

    oklch(55.5% 0.194 318.2)

  8. Step 700

    700

    #8933A1

    oklch(49.1% 0.181 318.1)

  9. Step 800

    800

    #6F2C82

    oklch(42.7% 0.148 318.1)

  10. Step 900

    900

    #5A2969

    oklch(37.7% 0.116 317.6)

  11. Step 950

    950 (this color)

    #2D1135

    oklch(23.9% 0.074 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#2D1135 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)#091B360.069
Deuteranopia (no green cones)#131E340.060
Tritanopia (no blue cones)#2D17200.048
Achromatopsia (no color)#1D1D1D0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D1135

    #2D1135

    oklch(23.9% 0.074 318.2)

  • #0A2600

    #0A2600

    oklch(23.8% 0.073 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D1135

    #2D1135

    oklch(23.9% 0.074 318.2)

  • #1F173F

    #1F173F

    oklch(24% 0.073 288.8)

  • #360D25

    #360D25

    oklch(23.9% 0.072 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #2D1135

    #2D1135

    oklch(23.9% 0.074 318.2)

  • #212100

    #212100

    oklch(24% 0.052 109.8)

  • #00261B

    #00261B

    oklch(23.9% 0.048 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D1135

    #2D1135

    oklch(23.9% 0.074 318.2)

  • #2C1B00

    #2C1B00

    oklch(23.8% 0.05 76.5)

  • #002526

    #002526

    oklch(24% 0.041 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D1135

    #2D1135

    oklch(23.9% 0.074 318.2)

  • #361300

    #361300

    oklch(23.8% 0.064 48.5)

  • #0A2600

    #0A2600

    oklch(23.8% 0.073 137.8)

  • #002330

    #002330

    oklch(23.9% 0.046 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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