#32287F

Closest named color: Midnight Blue (#191970). oklch(34.7% 0.14 281.4), rgb(50, 40, 127).

Aa

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

About this color

#32287F is a dark, vivid purple. In OKLCH its lightness is 35%, its chroma 0.140 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.063 away. White text reads best on it, at 12.03:1.

Hue familyPurples
Lightnessdark (35%)
Chromavivid (0.140)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.74:1
White text12.03:1

Values

HEX#32287F
RGBrgb(50, 40, 127)
HSLhsl(247, 52%, 33%)
OKLCHoklch(34.7% 0.14 281.4)

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 #32287F 12.03:1 AAA Lc -100.6 Preferred for body text
Black text on #32287F 1.74:1 Fails Lc 0.0 Not readable
#32287F text on white 12.03:1 AAA Lc 97.0 Preferred for body text
#32287F text on black 1.74: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B5B9FF

    oklch(80.8% 0.099 281.4)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7A71FF

    oklch(63.1% 0.204 281.7)

  7. Step 600

    600

    #6550F5

    oklch(55.5% 0.234 281.3)

  8. Step 700

    700

    #553FD5

    oklch(49% 0.217 281.5)

  9. Step 800

    800

    #4536AC

    oklch(42.7% 0.179 281.4)

  10. Step 900

    900 (this color)

    #32287F

    oklch(34.7% 0.14 281.4)

  11. Step 950

    950

    #211E50

    oklch(27.1% 0.089 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#32287F 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)#0039820.058
Deuteranopia (no green cones)#00337D0.053
Tritanopia (no blue cones)#023E500.118
Achromatopsia (no color)#3636360.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #32287F

    #32287F

    oklch(34.7% 0.14 281.4)

  • #423A00

    #423A00

    oklch(34.6% 0.072 100.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #32287F

    #32287F

    oklch(34.7% 0.14 281.4)

  • #003A6C

    #003A6C

    oklch(34.6% 0.102 251.5)

  • #51196D

    #51196D

    oklch(34.7% 0.141 311.7)

Open the analogous palette in the generator

Split complementary

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

  • #32287F

    #32287F

    oklch(34.7% 0.14 281.4)

  • #513200

    #513200

    oklch(34.6% 0.074 71.8)

  • #274300

    #274300

    oklch(34.7% 0.095 131.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #32287F

    #32287F

    oklch(34.7% 0.14 281.4)

  • #652000

    #652000

    oklch(34.7% 0.107 41)

  • #00462D

    #00462D

    oklch(34.8% 0.077 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #32287F

    #32287F

    oklch(34.7% 0.14 281.4)

  • #700027

    #700027

    oklch(34.8% 0.139 11.4)

  • #423A00

    #423A00

    oklch(34.6% 0.072 100.7)

  • #004341

    #004341

    oklch(34.6% 0.059 191.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #32287F 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.