#372B71

Closest named color: Marine Blue (#01386A). oklch(34.5% 0.116 286.5), rgb(55, 43, 113).

Aa

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

About this color

#372B71 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.116 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.065 away. White text reads best on it, at 12.02:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.74:1
White text12.02:1

Values

HEX#372B71
RGBrgb(55, 43, 113)
HSLhsl(250, 45%, 31%)
OKLCHoklch(34.5% 0.116 286.5)

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 #372B71 12.02:1 AAA Lc -100.8 Preferred for body text
Black text on #372B71 1.74:1 Fails Lc 0.0 Not readable
#372B71 text on white 12.02:1 AAA Lc 97.2 Preferred for body text
#372B71 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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BCB9F7

    oklch(81% 0.087 286.5)

  5. Step 400

    400

    #9B92F2

    oklch(70.7% 0.138 286.6)

  6. Step 500

    500

    #8473EE

    oklch(63.1% 0.178 286.4)

  7. Step 600

    600

    #7058DC

    oklch(55.6% 0.193 286.7)

  8. Step 700

    700

    #5E47BF

    oklch(49.1% 0.179 286.6)

  9. Step 800

    800

    #4C3B9B

    oklch(42.7% 0.15 286.3)

  10. Step 900

    900 (this color)

    #372B71

    oklch(34.5% 0.116 286.5)

  11. Step 950

    950

    #251F48

    oklch(27% 0.074 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#372B71 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)#0038730.062
Deuteranopia (no green cones)#0034700.061
Tritanopia (no blue cones)#233B490.097
Achromatopsia (no color)#3636360.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #372B71

    #372B71

    oklch(34.5% 0.116 286.5)

  • #3E3B00

    #3E3B00

    oklch(34.4% 0.074 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #372B71

    #372B71

    oklch(34.5% 0.116 286.5)

  • #033773

    #033773

    oklch(34.5% 0.115 256.3)

  • #502060

    #502060

    oklch(34.4% 0.116 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #372B71

    #372B71

    oklch(34.5% 0.116 286.5)

  • #4E3300

    #4E3300

    oklch(34.4% 0.072 76.4)

  • #1C4400

    #1C4400

    oklch(34.4% 0.103 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #372B71

    #372B71

    oklch(34.5% 0.116 286.5)

  • #5F2500

    #5F2500

    oklch(34.4% 0.096 46.8)

  • #004531

    #004531

    oklch(34.6% 0.072 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #372B71

    #372B71

    oklch(34.5% 0.116 286.5)

  • #681523

    #681523

    oklch(34.5% 0.115 16.7)

  • #3E3B00

    #3E3B00

    oklch(34.4% 0.074 106.5)

  • #004243

    #004243

    oklch(34.4% 0.059 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #372B71 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.