#371C3F

Closest named color: Eggplant (#380835). oklch(28% 0.071 318.1), rgb(55, 28, 63).

Aa

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

About this color

#371C3F is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.071 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.046 away. White text reads best on it, at 14.99:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.40:1
White text14.99:1

Values

HEX#371C3F
RGBrgb(55, 28, 63)
HSLhsl(286, 38%, 18%)
OKLCHoklch(28% 0.071 318.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 #371C3F 14.99:1 AAA Lc -104.5 Preferred for body text
Black text on #371C3F 1.40:1 Fails Lc 0.0 Not readable
#371C3F text on white 14.99:1 AAA Lc 101.7 Preferred for body text
#371C3F text on black 1.40: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 950.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D8B0E4

    oklch(80.9% 0.084 318.3)

  5. Step 400

    400

    #C384D6

    oklch(70.6% 0.134 318.1)

  6. Step 500

    500

    #B362CB

    oklch(63% 0.171 318.1)

  7. Step 600

    600

    #9F46B8

    oklch(55.7% 0.186 318.2)

  8. Step 700

    700

    #87369E

    oklch(49% 0.173 318)

  9. Step 800

    800

    #6E2E80

    oklch(42.7% 0.143 318.2)

  10. Step 900

    900

    #592A67

    oklch(37.6% 0.112 317.9)

  11. Step 950

    950 (this color)

    #371C3F

    oklch(28% 0.071 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#371C3F 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)#1625400.063
Deuteranopia (no green cones)#1E283E0.056
Tritanopia (no blue cones)#37212A0.046
Achromatopsia (no color)#2727270.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #371C3F

    #371C3F

    oklch(28% 0.071 318.1)

  • #15310B

    #15310B

    oklch(28.1% 0.071 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #371C3F

    #371C3F

    oklch(28% 0.071 318.1)

  • #282249

    #282249

    oklch(28.1% 0.07 288.1)

  • #41182F

    #41182F

    oklch(28% 0.071 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #371C3F

    #371C3F

    oklch(28% 0.071 318.1)

  • #2C2B00

    #2C2B00

    oklch(28.1% 0.061 108.4)

  • #003123

    #003123

    oklch(27.8% 0.056 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #371C3F

    #371C3F

    oklch(28% 0.071 318.1)

  • #382500

    #382500

    oklch(28.1% 0.058 79.5)

  • #003031

    #003031

    oklch(28% 0.048 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #371C3F

    #371C3F

    oklch(28% 0.071 318.1)

  • #441C04

    #441C04

    oklch(28.1% 0.071 48)

  • #15310B

    #15310B

    oklch(28.1% 0.071 138.5)

  • #002E3E

    #002E3E

    oklch(28.1% 0.055 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #371C3F 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.