#332A67

Closest named color: Prussian Blue (#1D3557). oklch(33.1% 0.103 286.1), rgb(51, 42, 103).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.59:1

Values

HEX#332A67
RGBrgb(51, 42, 103)
HSLhsl(249, 42%, 28%)
OKLCHoklch(33.1% 0.103 286.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 #332A67 12.59:1 AAA Lc -101.7 Preferred for body text
Black text on #332A67 1.66:1 Fails Lc 0.0 Not readable
#332A67 text on white 12.59:1 AAA Lc 98.3 Preferred for body text
#332A67 text on black 1.66: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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D6F5

    oklch(88.6% 0.042 285.5)

  4. Step 300

    300

    #BCBAF1

    oklch(80.9% 0.077 286.2)

  5. Step 400

    400

    #9A94EA

    oklch(70.6% 0.124 285.9)

  6. Step 500

    500

    #8377E3

    oklch(63% 0.158 286)

  7. Step 600

    600

    #6E5DD1

    oklch(55.5% 0.172 286.1)

  8. Step 700

    700

    #5D4CB5

    oklch(49.1% 0.16 286.4)

  9. Step 800

    800

    #4B3F93

    oklch(42.7% 0.133 285.8)

  10. Step 900

    900 (this color)

    #332A67

    oklch(33.1% 0.103 286.1)

  11. Step 950

    950

    #242044

    oklch(26.8% 0.065 286.2)

Export this scale for Tailwind in the Tailwind colors tool

#332A67 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)#0535690.055
Deuteranopia (no green cones)#0431660.055
Tritanopia (no blue cones)#2138440.087
Achromatopsia (no color)#3333330.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #332A67

    #332A67

    oklch(33.1% 0.103 286.1)

  • #3B3700

    #3B3700

    oklch(33% 0.07 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #332A67

    #332A67

    oklch(33.1% 0.103 286.1)

  • #083469

    #083469

    oklch(33% 0.104 256.3)

  • #4A2158

    #4A2158

    oklch(33.2% 0.102 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #332A67

    #332A67

    oklch(33.1% 0.103 286.1)

  • #4A3000

    #4A3000

    oklch(33.2% 0.07 76.2)

  • #1B4000

    #1B4000

    oklch(33.1% 0.098 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #332A67

    #332A67

    oklch(33.1% 0.103 286.1)

  • #5A2200

    #5A2200

    oklch(33% 0.093 46.2)

  • #00402D

    #00402D

    oklch(32.9% 0.068 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #332A67

    #332A67

    oklch(33.1% 0.103 286.1)

  • #5F1823

    #5F1823

    oklch(33.1% 0.102 16)

  • #3B3700

    #3B3700

    oklch(33% 0.07 105.1)

  • #003E3F

    #003E3F

    oklch(33% 0.056 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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