#321E41

Closest named color: Space Cadet (#2B2D42). oklch(27.8% 0.067 309), rgb(50, 30, 65).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.067)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.39:1
White text15.02:1

Values

HEX#321E41
RGBrgb(50, 30, 65)
HSLhsl(274, 37%, 19%)
OKLCHoklch(27.8% 0.067 309)

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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E2D2F0

    oklch(88.6% 0.044 309.3)

  4. Step 300

    300

    #D0B3E8

    oklch(80.9% 0.08 309.4)

  5. Step 400

    400

    #B88ADC

    oklch(70.8% 0.126 309.2)

  6. Step 500

    500

    #A66AD2

    oklch(63.1% 0.161 309.1)

  7. Step 600

    600

    #914FBF

    oklch(55.6% 0.174 309)

  8. Step 700

    700

    #7C3FA5

    oklch(49.2% 0.163 309.2)

  9. Step 800

    800

    #653486

    oklch(42.7% 0.136 309.4)

  10. Step 900

    900

    #522F6B

    oklch(37.7% 0.105 309.2)

  11. Step 950

    950 (this color)

    #321E41

    oklch(27.8% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#321E41 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)#1526420.053
Deuteranopia (no green cones)#1B27400.047
Tritanopia (no blue cones)#30242C0.048
Achromatopsia (no color)#2727270.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #321E41

    #321E41

    oklch(27.8% 0.067 309)

  • #1E2E05

    #1E2E05

    oklch(27.7% 0.066 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321E41

    #321E41

    oklch(27.8% 0.067 309)

  • #222448

    #222448

    oklch(27.9% 0.066 278.8)

  • #3D1A33

    #3D1A33

    oklch(27.9% 0.066 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #321E41

    #321E41

    oklch(27.8% 0.067 309)

  • #302800

    #302800

    oklch(27.7% 0.057 97.6)

  • #00321D

    #00321D

    oklch(28% 0.064 159.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321E41

    #321E41

    oklch(27.8% 0.067 309)

  • #3B2200

    #3B2200

    oklch(27.8% 0.06 69.6)

  • #00302D

    #00302D

    oklch(27.9% 0.048 188.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321E41

    #321E41

    oklch(27.8% 0.067 309)

  • #431B0D

    #431B0D

    oklch(27.9% 0.066 39.4)

  • #1E2E05

    #1E2E05

    oklch(27.7% 0.066 128.7)

  • #002E39

    #002E39

    oklch(27.8% 0.05 218.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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