#332D46

Closest named color: Space Cadet (#2B2D42). oklch(31.5% 0.045 294.7), rgb(51, 45, 70).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.045)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.60:1
White text13.08:1

Values

HEX#332D46
RGBrgb(51, 45, 70)
HSLhsl(254, 22%, 23%)
OKLCHoklch(31.5% 0.045 294.7)

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 #332D46 13.08:1 AAA Lc -102.6 Preferred for body text
Black text on #332D46 1.60:1 Fails Lc 0.0 Not readable
#332D46 text on white 13.08:1 AAA Lc 99.3 Preferred for body text
#332D46 text on black 1.60: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

    #F6F5FA

    oklch(97.2% 0.007 295.5)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EB

    oklch(88.6% 0.029 294.5)

  4. Step 300

    300

    #C2BAE0

    oklch(80.8% 0.054 294.8)

  5. Step 400

    400

    #A496D0

    oklch(70.6% 0.085 295.2)

  6. Step 500

    500

    #8E7CC4

    oklch(63.2% 0.108 294.6)

  7. Step 600

    600

    #7864B0

    oklch(55.6% 0.116 294.4)

  8. Step 700

    700

    #655298

    oklch(49% 0.11 294.5)

  9. Step 800

    800

    #53447B

    oklch(42.8% 0.09 294.9)

  10. Step 900

    900

    #443963

    oklch(37.6% 0.071 294.8)

  11. Step 950

    950 (this color)

    #332D46

    oklch(31.5% 0.045 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#332D46 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)#2731470.022
Deuteranopia (no green cones)#2830450.020
Tritanopia (no blue cones)#2F31360.036
Achromatopsia (no color)#3131310.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #332D46

    #332D46

    oklch(31.5% 0.045 294.7)

  • #313419

    #313419

    oklch(31.5% 0.044 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332D46

    #332D46

    oklch(31.5% 0.045 294.7)

  • #263148

    #263148

    oklch(31.4% 0.044 264.4)

  • #3D2A3E

    #3D2A3E

    oklch(31.6% 0.043 324.9)

Open the analogous palette in the generator

Split complementary

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

  • #332D46

    #332D46

    oklch(31.5% 0.045 294.7)

  • #3C3015

    #3C3015

    oklch(31.6% 0.045 85.7)

  • #233823

    #233823

    oklch(31.6% 0.046 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332D46

    #332D46

    oklch(31.5% 0.045 294.7)

  • #432B1B

    #432B1B

    oklch(31.4% 0.044 54.1)

  • #153930

    #153930

    oklch(31.5% 0.045 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332D46

    #332D46

    oklch(31.5% 0.045 294.7)

  • #462826

    #462826

    oklch(31.5% 0.046 24.1)

  • #313419

    #313419

    oklch(31.5% 0.044 114.1)

  • #10383C

    #10383C

    oklch(31.5% 0.044 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 #332D46, closest first.

Similar named colors

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

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