#2C1834

Closest named color: Eggplant (#380835). oklch(25% 0.057 315.7), rgb(44, 24, 52).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.057)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.28:1
White text16.31:1

Values

HEX#2C1834
RGBrgb(44, 24, 52)
HSLhsl(283, 37%, 15%)
OKLCHoklch(25% 0.057 315.7)

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 #2C1834 16.31:1 AAA Lc -105.7 Preferred for body text
Black text on #2C1834 1.28:1 Fails Lc 0.0 Not readable
#2C1834 text on white 16.31:1 AAA Lc 103.1 Preferred for body text
#2C1834 text on black 1.28: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D2B4DF

    oklch(81% 0.068 315.6)

  5. Step 400

    400

    #BB8BCF

    oklch(70.7% 0.11 315.7)

  6. Step 500

    500

    #AA6DC2

    oklch(63.2% 0.139 315.9)

  7. Step 600

    600

    #9553AE

    oklch(55.7% 0.151 316)

  8. Step 700

    700

    #7F4396

    oklch(49.2% 0.141 315.8)

  9. Step 800

    800

    #673879

    oklch(42.8% 0.115 315.9)

  10. Step 900

    900

    #543162

    oklch(37.8% 0.09 315.7)

  11. Step 950

    950 (this color)

    #2C1834

    oklch(25% 0.057 315.7)

Export this scale for Tailwind in the Tailwind colors tool

#2C1834 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)#131F350.049
Deuteranopia (no green cones)#1821330.045
Tritanopia (no blue cones)#2C1C230.038
Achromatopsia (no color)#2020200.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C1834

    #2C1834

    oklch(25% 0.057 315.7)

  • #142709

    #142709

    oklch(24.8% 0.057 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C1834

    #2C1834

    oklch(25% 0.057 315.7)

  • #1F1D3C

    #1F1D3C

    oklch(25.1% 0.057 284.4)

  • #341527

    #341527

    oklch(24.9% 0.056 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #2C1834

    #2C1834

    oklch(25% 0.057 315.7)

  • #252300

    #252300

    oklch(25% 0.054 106.5)

  • #00291C

    #00291C

    oklch(24.9% 0.051 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C1834

    #2C1834

    oklch(25% 0.057 315.7)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

  • #002828

    #002828

    oklch(25.1% 0.043 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C1834

    #2C1834

    oklch(25% 0.057 315.7)

  • #371707

    #371707

    oklch(24.9% 0.057 45.5)

  • #142709

    #142709

    oklch(24.8% 0.057 135.7)

  • #002633

    #002633

    oklch(25% 0.048 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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