#37276A

Closest named color: Midnight Blue (#191970). oklch(33.2% 0.112 289.9), rgb(55, 39, 106).

Aa

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

About this color

#37276A is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.112 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.066 away. White text reads best on it, at 12.64:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.66:1
White text12.64:1

Values

HEX#37276A
RGBrgb(55, 39, 106)
HSLhsl(254, 46%, 28%)
OKLCHoklch(33.2% 0.112 289.9)

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 #37276A 12.64:1 AAA Lc -101.8 Preferred for body text
Black text on #37276A 1.66:1 Fails Lc 0.0 Not readable
#37276A text on white 12.64:1 AAA Lc 98.3 Preferred for body text
#37276A 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7F9

    oklch(93.5% 0.024 291)

  3. Step 200

    200

    #D8D5F7

    oklch(88.6% 0.047 289.5)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #A091EE

    oklch(70.8% 0.134 289.9)

  6. Step 500

    500

    #8A72E8

    oklch(63% 0.172 289.9)

  7. Step 600

    600

    #7657D6

    oklch(55.6% 0.186 290.2)

  8. Step 700

    700

    #6346BA

    oklch(49% 0.174 290)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900 (this color)

    #37276A

    oklch(33.2% 0.112 289.9)

  11. Step 950

    950

    #271F46

    oklch(27.1% 0.07 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#37276A 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)#00346C0.066
Deuteranopia (no green cones)#0031690.066
Tritanopia (no blue cones)#2736440.091
Achromatopsia (no color)#3333330.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #37276A

    #37276A

    oklch(33.2% 0.112 289.9)

  • #383900

    #383900

    oklch(33.3% 0.073 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #37276A

    #37276A

    oklch(33.2% 0.112 289.9)

  • #0E326E

    #0E326E

    oklch(33.1% 0.112 260.2)

  • #4E1D59

    #4E1D59

    oklch(33.2% 0.112 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #37276A

    #37276A

    oklch(33.2% 0.112 289.9)

  • #483100

    #483100

    oklch(33.2% 0.069 80)

  • #0F4200

    #0F4200

    oklch(33.2% 0.107 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #37276A

    #37276A

    oklch(33.2% 0.112 289.9)

  • #582500

    #582500

    oklch(33.2% 0.088 50)

  • #004030

    #004030

    oklch(33% 0.066 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #37276A

    #37276A

    oklch(33.2% 0.112 289.9)

  • #63131C

    #63131C

    oklch(33.1% 0.112 20.1)

  • #383900

    #383900

    oklch(33.3% 0.073 110.9)

  • #003E41

    #003E41

    oklch(33.1% 0.056 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #37276A 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.