#321D38

Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.056 318.5), rgb(50, 29, 56).

Aa

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

About this color

#321D38 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.056 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.048 away. White text reads best on it, at 15.34:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.056)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.34:1

Values

HEX#321D38
RGBrgb(50, 29, 56)
HSLhsl(287, 32%, 17%)
OKLCHoklch(27.1% 0.056 318.5)

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 #321D38 15.34:1 AAA Lc -104.9 Preferred for body text
Black text on #321D38 1.36:1 Fails Lc 0.0 Not readable
#321D38 text on white 15.34:1 AAA Lc 102.2 Preferred for body text
#321D38 text on black 1.36: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E9

    oklch(88.5% 0.037 318.9)

  4. Step 300

    300

    #D3B4DD

    oklch(81% 0.066 317.9)

  5. Step 400

    400

    #BD8BCB

    oklch(70.7% 0.106 318.7)

  6. Step 500

    500

    #AC6DBE

    oklch(63.2% 0.136 318.5)

  7. Step 600

    600

    #9753AA

    oklch(55.7% 0.148 318.5)

  8. Step 700

    700

    #804392

    oklch(49.1% 0.137 318.1)

  9. Step 800

    800

    #683876

    oklch(42.7% 0.112 318.2)

  10. Step 900

    900

    #55315F

    oklch(37.8% 0.087 318.7)

  11. Step 950

    950 (this color)

    #321D38

    oklch(27.1% 0.056 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#321D38 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)#1924390.049
Deuteranopia (no green cones)#1E26370.045
Tritanopia (no blue cones)#3220270.036
Achromatopsia (no color)#2525250.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #321D38

    #321D38

    oklch(27.1% 0.056 318.5)

  • #182D11

    #182D11

    oklch(27.1% 0.056 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321D38

    #321D38

    oklch(27.1% 0.056 318.5)

  • #262140

    #262140

    oklch(27% 0.057 289.5)

  • #3A1A2B

    #3A1A2B

    oklch(27% 0.056 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #321D38

    #321D38

    oklch(27.1% 0.056 318.5)

  • #292802

    #292802

    oklch(26.9% 0.056 108.1)

  • #002F22

    #002F22

    oklch(27.1% 0.054 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321D38

    #321D38

    oklch(27.1% 0.056 318.5)

  • #352300

    #352300

    oklch(27.1% 0.056 79.9)

  • #002D2F

    #002D2F

    oklch(27% 0.046 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321D38

    #321D38

    oklch(27.1% 0.056 318.5)

  • #3C1D0B

    #3C1D0B

    oklch(27% 0.056 48.8)

  • #182D11

    #182D11

    oklch(27.1% 0.056 138.4)

  • #002B3B

    #002B3B

    oklch(27% 0.053 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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