#321A38

Closest named color: Eggplant (#380835). oklch(26.5% 0.062 319.4), rgb(50, 26, 56).

Aa

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

About this color

#321A38 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.062 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.041 away. White text reads best on it, at 15.66:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.062)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.34:1
White text15.66:1

Values

HEX#321A38
RGBrgb(50, 26, 56)
HSLhsl(288, 37%, 16%)
OKLCHoklch(26.5% 0.062 319.4)

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 #321A38 15.66:1 AAA Lc -105.1 Preferred for body text
Black text on #321A38 1.34:1 Fails Lc 0.0 Not readable
#321A38 text on white 15.66:1 AAA Lc 102.5 Preferred for body text
#321A38 text on black 1.34: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EB

    oklch(88.5% 0.041 318.4)

  4. Step 300

    300

    #D6B2DF

    oklch(80.9% 0.073 319.5)

  5. Step 400

    400

    #C188CF

    oklch(70.8% 0.118 319.6)

  6. Step 500

    500

    #B068C2

    oklch(63.1% 0.151 319.4)

  7. Step 600

    600

    #9B4DAF

    oklch(55.6% 0.165 319.1)

  8. Step 700

    700

    #853D96

    oklch(49.1% 0.153 319.6)

  9. Step 800

    800

    #6C337A

    oklch(42.7% 0.127 319.4)

  10. Step 900

    900

    #582E62

    oklch(37.8% 0.098 319.7)

  11. Step 950

    950 (this color)

    #321A38

    oklch(26.5% 0.062 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#321A38 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)#1522390.056
Deuteranopia (no green cones)#1C24370.050
Tritanopia (no blue cones)#321E260.040
Achromatopsia (no color)#2323230.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

  • #132C0C

    #132C0C

    oklch(26.4% 0.063 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #3B172A

    #3B172A

    oklch(26.6% 0.063 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

  • #272700

    #272700

    oklch(26.4% 0.058 109.8)

  • #002D21

    #002D21

    oklch(26.4% 0.052 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

  • #332100

    #332100

    oklch(26.4% 0.055 78.7)

  • #002C2D

    #002C2D

    oklch(26.6% 0.045 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

  • #3D1A05

    #3D1A05

    oklch(26.5% 0.063 48.6)

  • #132C0C

    #132C0C

    oklch(26.4% 0.063 139.3)

  • #002939

    #002939

    oklch(26.3% 0.052 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #321A38 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.