#311034

Closest named color: Eggplant (#380835). oklch(24.3% 0.077 324.3), rgb(49, 16, 52).

Aa

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

About this color

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

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

Values

HEX#311034
RGBrgb(49, 16, 52)
HSLhsl(295, 53%, 13%)
OKLCHoklch(24.3% 0.077 324.3)

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 #311034 16.74:1 AAA Lc -105.8 Preferred for body text
Black text on #311034 1.25:1 Fails Lc 0.0 Not readable
#311034 text on white 16.74:1 AAA Lc 103.4 Preferred for body text
#311034 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #DEADE2

    oklch(80.9% 0.09 323.9)

  5. Step 400

    400

    #CD7FD3

    oklch(70.8% 0.145 324.4)

  6. Step 500

    500

    #BE5AC7

    oklch(63% 0.186 324.2)

  7. Step 600

    600

    #A93BB4

    oklch(55.6% 0.202 324)

  8. Step 700

    700

    #912B9B

    oklch(49.1% 0.189 324.1)

  9. Step 800

    800

    #76267D

    oklch(42.7% 0.155 324.4)

  10. Step 900

    900

    #602565

    oklch(37.8% 0.122 324.5)

  11. Step 950

    950 (this color)

    #311034

    oklch(24.3% 0.077 324.3)

Export this scale for Tailwind in the Tailwind colors tool

#311034 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)#0A1B350.076
Deuteranopia (no green cones)#161F330.066
Tritanopia (no blue cones)#3215200.045
Achromatopsia (no color)#1E1E1E0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #311034

    #311034

    oklch(24.3% 0.077 324.3)

  • #012904

    #012904

    oklch(24.4% 0.077 144.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311034

    #311034

    oklch(24.3% 0.077 324.3)

  • #231640

    #231640

    oklch(24.3% 0.077 294.2)

  • #3A0C22

    #3A0C22

    oklch(24.4% 0.076 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #311034

    #311034

    oklch(24.3% 0.077 324.3)

  • #202300

    #202300

    oklch(24.5% 0.055 114.4)

  • #00271E

    #00271E

    oklch(24.3% 0.047 173.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311034

    #311034

    oklch(24.3% 0.077 324.3)

  • #2B1E00

    #2B1E00

    oklch(24.4% 0.05 85.4)

  • #002629

    #002629

    oklch(24.5% 0.042 202.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311034

    #311034

    oklch(24.3% 0.077 324.3)

  • #351600

    #351600

    oklch(24.2% 0.061 54.1)

  • #012904

    #012904

    oklch(24.4% 0.077 144.1)

  • #002334

    #002334

    oklch(24.2% 0.051 234.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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