#311135

Closest named color: Eggplant (#380835). oklch(24.5% 0.076 323.1), rgb(49, 17, 53).

Aa

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

About this color

#311135 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.076 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.022 away. White text reads best on it, at 16.63:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.26:1
White text16.63:1

Values

HEX#311135
RGBrgb(49, 17, 53)
HSLhsl(293, 51%, 14%)
OKLCHoklch(24.5% 0.076 323.1)

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 #311135 16.63:1 AAA Lc -105.8 Preferred for body text
Black text on #311135 1.26:1 Fails Lc 0.0 Not readable
#311135 text on white 16.63:1 AAA Lc 103.3 Preferred for body text
#311135 text on black 1.26: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFED

    oklch(88.6% 0.05 322.8)

  4. Step 300

    300

    #DDADE3

    oklch(80.8% 0.091 322.7)

  5. Step 400

    400

    #CB80D4

    oklch(70.7% 0.143 323.1)

  6. Step 500

    500

    #BC5BC9

    oklch(63% 0.185 322.8)

  7. Step 600

    600

    #A83CB5

    oklch(55.6% 0.201 323.2)

  8. Step 700

    700

    #902D9C

    oklch(49.2% 0.187 323.2)

  9. Step 800

    800

    #75277E

    oklch(42.7% 0.155 323.4)

  10. Step 900

    900

    #5E2666

    oklch(37.7% 0.12 322.5)

  11. Step 950

    950 (this color)

    #311135

    oklch(24.5% 0.076 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#311135 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)#0B1C360.074
Deuteranopia (no green cones)#161F340.064
Tritanopia (no blue cones)#3216210.045
Achromatopsia (no color)#1E1E1E0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #311135

    #311135

    oklch(24.5% 0.076 323.1)

  • #032904

    #032904

    oklch(24.5% 0.076 143.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311135

    #311135

    oklch(24.5% 0.076 323.1)

  • #231741

    #231741

    oklch(24.6% 0.076 293.1)

  • #3A0D24

    #3A0D24

    oklch(24.6% 0.076 352.6)

Open the analogous palette in the generator

Split complementary

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

  • #311135

    #311135

    oklch(24.5% 0.076 323.1)

  • #212300

    #212300

    oklch(24.6% 0.055 112.9)

  • #00281E

    #00281E

    oklch(24.7% 0.048 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311135

    #311135

    oklch(24.5% 0.076 323.1)

  • #2C1E00

    #2C1E00

    oklch(24.6% 0.05 83.6)

  • #002629

    #002629

    oklch(24.5% 0.042 202.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311135

    #311135

    oklch(24.5% 0.076 323.1)

  • #371600

    #371600

    oklch(24.6% 0.063 52.3)

  • #032904

    #032904

    oklch(24.5% 0.076 143.3)

  • #002435

    #002435

    oklch(24.5% 0.051 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #311135 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.