#322D40

Closest named color: Space Cadet (#2B2D42). oklch(31.1% 0.034 296.4), rgb(50, 45, 64).

Aa

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

About this color

#322D40 is a dark, muted purple. In OKLCH its lightness is 31%, its chroma 0.034 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.013 away. White text reads best on it, at 13.24:1.

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.034)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.24:1

Values

HEX#322D40
RGBrgb(50, 45, 64)
HSLhsl(256, 17%, 21%)
OKLCHoklch(31.1% 0.034 296.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 #322D40 13.24:1 AAA Lc -102.8 Preferred for body text
Black text on #322D40 1.58:1 Fails Lc 0.0 Not readable
#322D40 text on white 13.24:1 AAA Lc 99.6 Preferred for body text
#322D40 text on black 1.58: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD6E7

    oklch(88.4% 0.023 296.7)

  4. Step 300

    300

    #C3BCD8

    oklch(81% 0.04 296.9)

  5. Step 400

    400

    #A499C5

    oklch(70.8% 0.064 296.2)

  6. Step 500

    500

    #8E7FB6

    oklch(63.1% 0.083 296.5)

  7. Step 600

    600

    #7868A2

    oklch(55.6% 0.09 296)

  8. Step 700

    700

    #65568B

    oklch(49% 0.085 296.2)

  9. Step 800

    800

    #534771

    oklch(42.8% 0.069 296.5)

  10. Step 900

    900

    #443B5B

    oklch(37.6% 0.055 296.6)

  11. Step 950

    950 (this color)

    #322D40

    oklch(31.1% 0.034 296.4)

Export this scale for Tailwind in the Tailwind colors tool

#322D40 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)#2930410.017
Deuteranopia (no green cones)#29303F0.018
Tritanopia (no blue cones)#2F30340.028
Achromatopsia (no color)#3030300.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #322D40

    #322D40

    oklch(31.1% 0.034 296.4)

  • #2F331F

    #2F331F

    oklch(31.1% 0.034 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #322D40

    #322D40

    oklch(31.1% 0.034 296.4)

  • #283042

    #283042

    oklch(31% 0.034 265.9)

  • #3A2A3A

    #3A2A3A

    oklch(31% 0.036 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #322D40

    #322D40

    oklch(31.1% 0.034 296.4)

  • #382F1C

    #382F1C

    oklch(31% 0.034 85.2)

  • #253526

    #253526

    oklch(31% 0.034 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #322D40

    #322D40

    oklch(31.1% 0.034 296.4)

  • #3E2C1F

    #3E2C1F

    oklch(31% 0.035 56.9)

  • #1C3630

    #1C3630

    oklch(31% 0.034 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #322D40

    #322D40

    oklch(31.1% 0.034 296.4)

  • #402A27

    #402A27

    oklch(31.1% 0.034 27.8)

  • #2F331F

    #2F331F

    oklch(31.1% 0.034 117.6)

  • #1A3639

    #1A3639

    oklch(31.2% 0.034 204.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #322D40 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.