#31112E

Closest named color: Eggplant (#380835). oklch(24.1% 0.068 331.2), rgb(49, 17, 46).

Aa

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

About this color

#31112E is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.068 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.027 away. White text reads best on it, at 16.79:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.068)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.25:1
White text16.79:1

Values

HEX#31112E
RGBrgb(49, 17, 46)
HSLhsl(306, 48%, 13%)
OKLCHoklch(24.1% 0.068 331.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 #31112E 16.79:1 AAA Lc -105.9 Preferred for body text
Black text on #31112E 1.25:1 Fails Lc 0.0 Not readable
#31112E text on white 16.79:1 AAA Lc 103.5 Preferred for body text
#31112E text on black 1.25: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #E0AED9

    oklch(80.9% 0.081 331.1)

  5. Step 400

    400

    #CE81C5

    oklch(70.6% 0.129 331.1)

  6. Step 500

    500

    #C05EB6

    oklch(63% 0.165 331.3)

  7. Step 600

    600

    #AB41A2

    oklch(55.5% 0.18 331.2)

  8. Step 700

    700

    #93328B

    oklch(49.1% 0.167 331.2)

  9. Step 800

    800

    #772B71

    oklch(42.7% 0.138 330.9)

  10. Step 900

    900

    #61285B

    oklch(37.8% 0.108 331.7)

  11. Step 950

    950 (this color)

    #31112E

    oklch(24.1% 0.068 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#31112E 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)#101A2F0.069
Deuteranopia (no green cones)#191F2D0.062
Tritanopia (no blue cones)#33141D0.037
Achromatopsia (no color)#1D1D1D0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #31112E

    #31112E

    oklch(24.1% 0.068 331.2)

  • #00280E

    #00280E

    oklch(24.2% 0.065 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31112E

    #31112E

    oklch(24.1% 0.068 331.2)

  • #25163A

    #25163A

    oklch(24.1% 0.068 300.7)

  • #380E1D

    #380E1D

    oklch(24.1% 0.069 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #31112E

    #31112E

    oklch(24.1% 0.068 331.2)

  • #1B2300

    #1B2300

    oklch(24% 0.058 121.5)

  • #002621

    #002621

    oklch(24.1% 0.043 182)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31112E

    #31112E

    oklch(24.1% 0.068 331.2)

  • #281E00

    #281E00

    oklch(24% 0.049 90.9)

  • #00252B

    #00252B

    oklch(24.2% 0.042 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31112E

    #31112E

    oklch(24.1% 0.068 331.2)

  • #321800

    #321800

    oklch(24.1% 0.056 61)

  • #00280E

    #00280E

    oklch(24.2% 0.065 150.8)

  • #002237

    #002237

    oklch(24.1% 0.056 240.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31112E 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.