#321B3C

Closest named color: Eggplant (#380835). oklch(26.9% 0.066 314.9), rgb(50, 27, 60).

Aa

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

About this color

#321B3C is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.066 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.043 away. White text reads best on it, at 15.46:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.066)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.35:1
White text15.46:1

Values

HEX#321B3C
RGBrgb(50, 27, 60)
HSLhsl(282, 38%, 17%)
OKLCHoklch(26.9% 0.066 314.9)

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 #321B3C 15.46:1 AAA Lc -105.0 Preferred for body text
Black text on #321B3C 1.35:1 Fails Lc 0.0 Not readable
#321B3C text on white 15.46:1 AAA Lc 102.2 Preferred for body text
#321B3C text on black 1.35: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

    #F0E6F5

    oklch(93.7% 0.023 314.7)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D4B2E4

    oklch(80.9% 0.078 314.9)

  5. Step 400

    400

    #BE88D6

    oklch(70.8% 0.125 315)

  6. Step 500

    500

    #AD68CB

    oklch(63.2% 0.159 314.8)

  7. Step 600

    600

    #984CB7

    oklch(55.5% 0.173 315)

  8. Step 700

    700

    #823D9E

    oklch(49.2% 0.16 315)

  9. Step 800

    800

    #693380

    oklch(42.7% 0.133 314.6)

  10. Step 900

    900

    #562D67

    oklch(37.7% 0.105 315.1)

  11. Step 950

    950 (this color)

    #321B3C

    oklch(26.9% 0.066 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#321B3C 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)#14233D0.056
Deuteranopia (no green cones)#1B253B0.050
Tritanopia (no blue cones)#3120280.045
Achromatopsia (no color)#2424240.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #321B3C

    #321B3C

    oklch(26.9% 0.066 314.9)

  • #172D08

    #172D08

    oklch(26.9% 0.066 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321B3C

    #321B3C

    oklch(26.9% 0.066 314.9)

  • #232045

    #232045

    oklch(26.8% 0.067 284.6)

  • #3C172E

    #3C172E

    oklch(26.9% 0.067 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #321B3C

    #321B3C

    oklch(26.9% 0.066 314.9)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

  • #002F1F

    #002F1F

    oklch(27% 0.057 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321B3C

    #321B3C

    oklch(26.9% 0.066 314.9)

  • #362100

    #362100

    oklch(26.8% 0.057 74.3)

  • #002D2D

    #002D2D

    oklch(26.9% 0.046 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321B3C

    #321B3C

    oklch(26.9% 0.066 314.9)

  • #3F1A07

    #3F1A07

    oklch(26.9% 0.065 45.4)

  • #172D08

    #172D08

    oklch(26.9% 0.066 135)

  • #002B39

    #002B39

    oklch(26.9% 0.051 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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