#332F49

Closest named color: Space Cadet (#2B2D42). oklch(32.1% 0.046 290.6), rgb(51, 47, 73).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.046)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.64:1
White text12.77:1

Values

HEX#332F49
RGBrgb(51, 47, 73)
HSLhsl(249, 22%, 24%)
OKLCHoklch(32.1% 0.046 290.6)

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 #332F49 12.77:1 AAA Lc -102.2 Preferred for body text
Black text on #332F49 1.64:1 Fails Lc 0.0 Not readable
#332F49 text on white 12.77:1 AAA Lc 98.9 Preferred for body text
#332F49 text on black 1.64: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6EC

    oklch(88.4% 0.03 289.9)

  4. Step 300

    300

    #C0BBE2

    oklch(80.9% 0.055 291)

  5. Step 400

    400

    #A097D3

    oklch(70.6% 0.087 290.9)

  6. Step 500

    500

    #897DC8

    oklch(63.1% 0.111 290.2)

  7. Step 600

    600

    #7465B4

    oklch(55.6% 0.12 290.7)

  8. Step 700

    700

    #61539B

    oklch(49% 0.113 290.6)

  9. Step 800

    800

    #4F457E

    oklch(42.8% 0.093 290)

  10. Step 900

    900

    #423A65

    oklch(37.7% 0.072 291.1)

  11. Step 950

    950 (this color)

    #332F49

    oklch(32.1% 0.046 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#332F49 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)#28334A0.020
Deuteranopia (no green cones)#2832480.020
Tritanopia (no blue cones)#2E33380.038
Achromatopsia (no color)#3232320.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #332F49

    #332F49

    oklch(32.1% 0.046 290.6)

  • #343518

    #343518

    oklch(32% 0.046 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332F49

    #332F49

    oklch(32.1% 0.046 290.6)

  • #26334B

    #26334B

    oklch(32.1% 0.047 262.2)

  • #3E2B42

    #3E2B42

    oklch(32.1% 0.047 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #332F49

    #332F49

    oklch(32.1% 0.046 290.6)

  • #3F3116

    #3F3116

    oklch(32.2% 0.046 82.3)

  • #263923

    #263923

    oklch(32.1% 0.045 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332F49

    #332F49

    oklch(32.1% 0.046 290.6)

  • #462C1D

    #462C1D

    oklch(32.1% 0.046 50.5)

  • #173B30

    #173B30

    oklch(32.2% 0.046 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332F49

    #332F49

    oklch(32.1% 0.046 290.6)

  • #482929

    #482929

    oklch(32% 0.047 20)

  • #343518

    #343518

    oklch(32% 0.046 110.5)

  • #103A3D

    #103A3D

    oklch(32.1% 0.046 201.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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