#332841

Closest named color: Space Cadet (#2B2D42). oklch(30.1% 0.046 303.9), rgb(51, 40, 65).

Aa

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

About this color

#332841 is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.046 and its hue 304°. 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 13.81:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.046)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.81:1

Values

HEX#332841
RGBrgb(51, 40, 65)
HSLhsl(266, 24%, 21%)
OKLCHoklch(30.1% 0.046 303.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 #332841 13.81:1 AAA Lc -103.4 Preferred for body text
Black text on #332841 1.52:1 Fails Lc 0.0 Not readable
#332841 text on white 13.81:1 AAA Lc 100.4 Preferred for body text
#332841 text on black 1.52: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B8DE

    oklch(80.8% 0.055 304.3)

  5. Step 400

    400

    #AC93CE

    oklch(70.7% 0.089 303.6)

  6. Step 500

    500

    #9877C1

    oklch(63% 0.114 303.8)

  7. Step 600

    600

    #835FAD

    oklch(55.6% 0.123 304)

  8. Step 700

    700

    #6F4E95

    oklch(49.1% 0.115 303.9)

  9. Step 800

    800

    #5A4078

    oklch(42.6% 0.094 304.1)

  10. Step 900

    900

    #4A3761

    oklch(37.7% 0.073 303.9)

  11. Step 950

    950 (this color)

    #332841

    oklch(30.1% 0.046 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#332841 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)#232D420.030
Deuteranopia (no green cones)#252D400.028
Tritanopia (no blue cones)#312C310.036
Achromatopsia (no color)#2D2D2D0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #332841

    #332841

    oklch(30.1% 0.046 303.9)

  • #293217

    #293217

    oklch(30.1% 0.046 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332841

    #332841

    oklch(30.1% 0.046 303.9)

  • #272C45

    #272C45

    oklch(30.1% 0.046 274.7)

  • #3C2538

    #3C2538

    oklch(30.1% 0.046 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #332841

    #332841

    oklch(30.1% 0.046 303.9)

  • #362D10

    #362D10

    oklch(30% 0.046 92.2)

  • #1A3523

    #1A3523

    oklch(30.1% 0.047 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332841

    #332841

    oklch(30.1% 0.046 303.9)

  • #3E2914

    #3E2914

    oklch(30.1% 0.046 64.6)

  • #0B3531

    #0B3531

    oklch(29.9% 0.046 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332841

    #332841

    oklch(30.1% 0.046 303.9)

  • #42251E

    #42251E

    oklch(30% 0.046 34.4)

  • #293217

    #293217

    oklch(30.1% 0.046 124.3)

  • #0A343C

    #0A343C

    oklch(30.1% 0.046 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #332841 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.