#320B34

Closest named color: Eggplant (#380835). oklch(23.8% 0.086 325.8), rgb(50, 11, 52).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.23:1
White text17.03:1

Values

HEX#320B34
RGBrgb(50, 11, 52)
HSLhsl(297, 65%, 12%)
OKLCHoklch(23.8% 0.086 325.8)

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 #320B34 17.03:1 AAA Lc -105.9 Preferred for body text
Black text on #320B34 1.23:1 Fails Lc 0.0 Not readable
#320B34 text on white 17.03:1 AAA Lc 103.5 Preferred for body text
#320B34 text on black 1.23: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

    #FAF2FA

    oklch(97% 0.014 325.7)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EDCDEE

    oklch(88.5% 0.056 325.1)

  4. Step 300

    300

    #E3AAE4

    oklch(80.9% 0.101 325.9)

  5. Step 400

    400

    #D379D7

    oklch(70.7% 0.163 325.6)

  6. Step 500

    500

    #C650CB

    oklch(63.1% 0.208 326.1)

  7. Step 600

    600

    #B12BB8

    oklch(55.6% 0.226 325.9)

  8. Step 700

    700

    #981B9F

    oklch(49.2% 0.21 325.7)

  9. Step 800

    800

    #7B1B81

    oklch(42.7% 0.174 325.4)

  10. Step 900

    900

    #641F67

    oklch(37.8% 0.135 326.1)

  11. Step 950

    950 (this color)

    #320B34

    oklch(23.8% 0.086 325.8)

Export this scale for Tailwind in the Tailwind colors tool

#320B34 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)#0419350.090
Deuteranopia (no green cones)#141E330.076
Tritanopia (no blue cones)#33111E0.049
Achromatopsia (no color)#1C1C1C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #320B34

    #320B34

    oklch(23.8% 0.086 325.8)

  • #002706

    #002706

    oklch(23.7% 0.073 145.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #320B34

    #320B34

    oklch(23.8% 0.086 325.8)

  • #231242

    #231242

    oklch(23.7% 0.086 295.3)

  • #3B0620

    #3B0620

    oklch(23.8% 0.085 356)

Open the analogous palette in the generator

Split complementary

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

  • #320B34

    #320B34

    oklch(23.8% 0.086 325.8)

  • #1E2200

    #1E2200

    oklch(24% 0.055 116)

  • #00251E

    #00251E

    oklch(23.6% 0.044 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #320B34

    #320B34

    oklch(23.8% 0.086 325.8)

  • #291D00

    #291D00

    oklch(23.9% 0.049 86.7)

  • #002428

    #002428

    oklch(23.8% 0.041 205.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #320B34

    #320B34

    oklch(23.8% 0.086 325.8)

  • #331600

    #331600

    oklch(23.8% 0.058 56)

  • #002706

    #002706

    oklch(23.7% 0.073 145.9)

  • #002233

    #002233

    oklch(23.8% 0.05 235)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #320B34 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.