#332D4C

Closest named color: Space Cadet (#2B2D42). oklch(31.8% 0.055 291.9), rgb(51, 45, 76).

Aa

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

About this color

#332D4C is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.055 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.024 away. White text reads best on it, at 12.95:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.055)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.62:1
White text12.95:1

Values

HEX#332D4C
RGBrgb(51, 45, 76)
HSLhsl(252, 26%, 24%)
OKLCHoklch(31.8% 0.055 291.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 #332D4C 12.95:1 AAA Lc -102.4 Preferred for body text
Black text on #332D4C 1.62:1 Fails Lc 0.0 Not readable
#332D4C text on white 12.95:1 AAA Lc 99.1 Preferred for body text
#332D4C text on black 1.62: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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1BAE8

    oklch(81% 0.065 291.9)

  5. Step 400

    400

    #A295DC

    oklch(70.8% 0.103 292)

  6. Step 500

    500

    #8C79D2

    oklch(63.1% 0.132 292)

  7. Step 600

    600

    #7660BF

    oklch(55.5% 0.143 291.7)

  8. Step 700

    700

    #644FA5

    oklch(49.1% 0.133 292)

  9. Step 800

    800

    #514186

    oklch(42.7% 0.111 291.7)

  10. Step 900

    900

    #43386B

    oklch(37.8% 0.085 291.7)

  11. Step 950

    950 (this color)

    #332D4C

    oklch(31.8% 0.055 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#332D4C 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)#24324D0.027
Deuteranopia (no green cones)#25314B0.025
Tritanopia (no blue cones)#2D33390.046
Achromatopsia (no color)#3131310.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #332D4C

    #332D4C

    oklch(31.8% 0.055 291.9)

  • #333511

    #333511

    oklch(31.8% 0.055 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332D4C

    #332D4C

    oklch(31.8% 0.055 291.9)

  • #23324E

    #23324E

    oklch(31.8% 0.054 262.2)

  • #3F2943

    #3F2943

    oklch(31.9% 0.054 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #332D4C

    #332D4C

    oklch(31.8% 0.055 291.9)

  • #402F0D

    #402F0D

    oklch(31.7% 0.054 81.6)

  • #22391F

    #22391F

    oklch(31.8% 0.053 141.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332D4C

    #332D4C

    oklch(31.8% 0.055 291.9)

  • #482A17

    #482A17

    oklch(31.8% 0.054 52)

  • #0C3B2F

    #0C3B2F

    oklch(31.8% 0.054 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332D4C

    #332D4C

    oklch(31.8% 0.055 291.9)

  • #4B2626

    #4B2626

    oklch(31.8% 0.056 20.7)

  • #333511

    #333511

    oklch(31.8% 0.055 112.1)

  • #003A3E

    #003A3E

    oklch(31.7% 0.054 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #332D4C 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.