#332356

Closest named color: Space Cadet (#2B2D42). oklch(30.4% 0.089 295.1), rgb(51, 35, 86).

Aa

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

About this color

#332356 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.089 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.053 away. White text reads best on it, at 13.85:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.51:1
White text13.85:1

Values

HEX#332356
RGBrgb(51, 35, 86)
HSLhsl(259, 42%, 24%)
OKLCHoklch(30.4% 0.089 295.1)

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 #332356 13.85:1 AAA Lc -103.4 Preferred for body text
Black text on #332356 1.51:1 Fails Lc 0.0 Not readable
#332356 text on white 13.85:1 AAA Lc 100.3 Preferred for body text
#332356 text on black 1.51: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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C5B3FE

    oklch(80.9% 0.106 294.9)

  5. Step 400

    400

    #AA88FD

    oklch(70.8% 0.168 295.2)

  6. Step 500

    500

    #9764FB

    oklch(63.2% 0.215 295.1)

  7. Step 600

    600

    #8343EA

    oklch(55.6% 0.235 295.1)

  8. Step 700

    700

    #6F33CB

    oklch(49.1% 0.217 295.1)

  9. Step 800

    800

    #5A2CA4

    oklch(42.6% 0.18 295.1)

  10. Step 900

    900

    #492A82

    oklch(37.6% 0.14 294.9)

  11. Step 950

    950 (this color)

    #332356

    oklch(30.4% 0.089 295.1)

Export this scale for Tailwind in the Tailwind colors tool

#332356 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)#0C2D580.058
Deuteranopia (no green cones)#112C550.054
Tritanopia (no blue cones)#2A2E380.073
Achromatopsia (no color)#2D2D2D0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #332356

    #332356

    oklch(30.4% 0.089 295.1)

  • #2E3200

    #2E3200

    oklch(30.3% 0.068 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332356

    #332356

    oklch(30.4% 0.089 295.1)

  • #182B5B

    #182B5B

    oklch(30.3% 0.09 265.2)

  • #441C47

    #441C47

    oklch(30.4% 0.089 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #332356

    #332356

    oklch(30.4% 0.089 295.1)

  • #3D2C00

    #3D2C00

    oklch(30.5% 0.062 85.6)

  • #063A0E

    #063A0E

    oklch(30.5% 0.089 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332356

    #332356

    oklch(30.4% 0.089 295.1)

  • #4B2200

    #4B2200

    oklch(30.4% 0.076 54.3)

  • #00382D

    #00382D

    oklch(30.4% 0.057 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332356

    #332356

    oklch(30.4% 0.089 295.1)

  • #531816

    #531816

    oklch(30.5% 0.088 25.8)

  • #2E3200

    #2E3200

    oklch(30.3% 0.068 114.5)

  • #00363B

    #00363B

    oklch(30.4% 0.052 204.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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