#321F3E

Closest named color: Space Cadet (#2B2D42). oklch(27.8% 0.06 311.2), rgb(50, 31, 62).

Aa

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

About this color

#321F3E is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.060 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.043 away. White text reads best on it, at 14.98:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.060)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.40:1
White text14.98:1

Values

HEX#321F3E
RGBrgb(50, 31, 62)
HSLhsl(277, 33%, 18%)
OKLCHoklch(27.8% 0.06 311.2)

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 #321F3E 14.98:1 AAA Lc -104.6 Preferred for body text
Black text on #321F3E 1.40:1 Fails Lc 0.0 Not readable
#321F3E text on white 14.98:1 AAA Lc 101.8 Preferred for body text
#321F3E text on black 1.40: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D0B4E3

    oklch(80.9% 0.072 311.5)

  5. Step 400

    400

    #B88CD5

    oklch(70.8% 0.114 311.3)

  6. Step 500

    500

    #A66DC9

    oklch(63.1% 0.145 311.4)

  7. Step 600

    600

    #9153B6

    oklch(55.6% 0.158 311.2)

  8. Step 700

    700

    #7B439D

    oklch(49.1% 0.147 310.8)

  9. Step 800

    800

    #64377F

    oklch(42.6% 0.123 311.1)

  10. Step 900

    900

    #523166

    oklch(37.8% 0.095 311.4)

  11. Step 950

    950 (this color)

    #321F3E

    oklch(27.8% 0.06 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#321F3E 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)#18263F0.048
Deuteranopia (no green cones)#1D273D0.044
Tritanopia (no blue cones)#31242B0.043
Achromatopsia (no color)#2727270.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #321F3E

    #321F3E

    oklch(27.8% 0.06 311.2)

  • #1D2E0C

    #1D2E0C

    oklch(27.7% 0.06 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321F3E

    #321F3E

    oklch(27.8% 0.06 311.2)

  • #242445

    #242445

    oklch(27.8% 0.06 281.8)

  • #3C1B31

    #3C1B31

    oklch(27.8% 0.061 341.4)

Open the analogous palette in the generator

Split complementary

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

  • #321F3E

    #321F3E

    oklch(27.8% 0.06 311.2)

  • #2F2900

    #2F2900

    oklch(27.9% 0.058 100.9)

  • #02311F

    #02311F

    oklch(27.8% 0.059 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321F3E

    #321F3E

    oklch(27.8% 0.06 311.2)

  • #3A2300

    #3A2300

    oklch(27.9% 0.059 72.8)

  • #00302E

    #00302E

    oklch(27.9% 0.048 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321F3E

    #321F3E

    oklch(27.8% 0.06 311.2)

  • #411D0F

    #411D0F

    oklch(27.9% 0.061 41.3)

  • #1D2E0C

    #1D2E0C

    oklch(27.7% 0.06 131.7)

  • #002E3A

    #002E3A

    oklch(27.9% 0.051 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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