#332134

Closest named color: Space Cadet (#2B2D42). oklch(27.8% 0.042 324.9), rgb(51, 33, 52).

Aa

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

About this color

#332134 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.042 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.041 away. White text reads best on it, at 14.91:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.042)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.40:1
White text14.91:1

Values

HEX#332134
RGBrgb(51, 33, 52)
HSLhsl(297, 22%, 17%)
OKLCHoklch(27.8% 0.042 324.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 #332134 14.91:1 AAA Lc -104.5 Preferred for body text
Black text on #332134 1.40:1 Fails Lc 0.0 Not readable
#332134 text on white 14.91:1 AAA Lc 101.7 Preferred for body text
#332134 text on black 1.40: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D3E4

    oklch(88.5% 0.029 324)

  4. Step 300

    300

    #D2B6D3

    oklch(80.9% 0.051 325)

  5. Step 400

    400

    #BA90BD

    oklch(70.8% 0.08 324.2)

  6. Step 500

    500

    #A973AC

    oklch(63.1% 0.103 324.9)

  7. Step 600

    600

    #945B97

    oklch(55.6% 0.111 325.2)

  8. Step 700

    700

    #7E4A81

    oklch(49.1% 0.105 325.1)

  9. Step 800

    800

    #663D69

    oklch(42.6% 0.087 324.5)

  10. Step 900

    900

    #533555

    oklch(37.7% 0.066 324.6)

  11. Step 950

    950 (this color)

    #332134

    oklch(27.8% 0.042 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#332134 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)#1F26350.039
Deuteranopia (no green cones)#2428330.035
Tritanopia (no blue cones)#3423280.025
Achromatopsia (no color)#2727270.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #332134

    #332134

    oklch(27.8% 0.042 324.9)

  • #1B2E1B

    #1B2E1B

    oklch(27.9% 0.042 144.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332134

    #332134

    oklch(27.8% 0.042 324.9)

  • #2A243B

    #2A243B

    oklch(27.8% 0.042 295.5)

  • #391F29

    #391F29

    oklch(27.7% 0.043 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #332134

    #332134

    oklch(27.8% 0.042 324.9)

  • #282B11

    #282B11

    oklch(27.9% 0.043 114.6)

  • #0D2F27

    #0D2F27

    oklch(27.8% 0.042 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332134

    #332134

    oklch(27.8% 0.042 324.9)

  • #32270E

    #32270E

    oklch(27.9% 0.042 85.6)

  • #072E32

    #072E32

    oklch(27.7% 0.042 205.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332134

    #332134

    oklch(27.8% 0.042 324.9)

  • #392313

    #392313

    oklch(28% 0.043 56)

  • #1B2E1B

    #1B2E1B

    oklch(27.9% 0.042 144.3)

  • #112C3A

    #112C3A

    oklch(27.9% 0.042 233.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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