#332B60

Closest named color: Prussian Blue (#1D3557). oklch(32.8% 0.091 287.2), rgb(51, 43, 96).

Aa

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

About this color

#332B60 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.091 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.046 away. White text reads best on it, at 12.68:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#332B60
RGBrgb(51, 43, 96)
HSLhsl(249, 38%, 27%)
OKLCHoklch(32.8% 0.091 287.2)

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 #332B60 12.68:1 AAA Lc -101.9 Preferred for body text
Black text on #332B60 1.65:1 Fails Lc 0.0 Not readable
#332B60 text on white 12.68:1 AAA Lc 98.6 Preferred for body text
#332B60 text on black 1.65: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 900.

  1. Step 50

    50

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBEB

    oklch(81% 0.067 286.7)

  5. Step 400

    400

    #9C96E1

    oklch(70.7% 0.108 286.9)

  6. Step 500

    500

    #857AD8

    oklch(63.1% 0.138 287.1)

  7. Step 600

    600

    #7061C6

    oklch(55.6% 0.151 287.2)

  8. Step 700

    700

    #5E50AB

    oklch(49.2% 0.14 287.1)

  9. Step 800

    800

    #4D428A

    oklch(42.8% 0.115 287.5)

  10. Step 900

    900 (this color)

    #332B60

    oklch(32.8% 0.091 287.2)

  11. Step 950

    950

    #252141

    oklch(27% 0.058 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#332B60 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)#1334620.046
Deuteranopia (no green cones)#13315F0.045
Tritanopia (no blue cones)#2536410.075
Achromatopsia (no color)#3333330.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #332B60

    #332B60

    oklch(32.8% 0.091 287.2)

  • #393700

    #393700

    oklch(32.8% 0.071 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332B60

    #332B60

    oklch(32.8% 0.091 287.2)

  • #123462

    #123462

    oklch(32.8% 0.09 257)

  • #472353

    #472353

    oklch(32.7% 0.091 317.1)

Open the analogous palette in the generator

Split complementary

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

  • #332B60

    #332B60

    oklch(32.8% 0.091 287.2)

  • #482F00

    #482F00

    oklch(32.7% 0.068 76.8)

  • #1B3F08

    #1B3F08

    oklch(32.8% 0.091 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332B60

    #332B60

    oklch(32.8% 0.091 287.2)

  • #582200

    #582200

    oklch(32.7% 0.09 47)

  • #003F2E

    #003F2E

    oklch(32.7% 0.066 168.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332B60

    #332B60

    oklch(32.8% 0.091 287.2)

  • #5A1D23

    #5A1D23

    oklch(32.8% 0.09 17.8)

  • #393700

    #393700

    oklch(32.8% 0.071 107.5)

  • #003D3F

    #003D3F

    oklch(32.7% 0.056 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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