#371A57

Closest named color: Deep Violet (#490648). oklch(29.4% 0.106 302.1), rgb(55, 26, 87).

Aa

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

About this color

#371A57 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.106 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.056 away. White text reads best on it, at 14.50:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.44:1
White text14.50:1

Values

HEX#371A57
RGBrgb(55, 26, 87)
HSLhsl(269, 54%, 22%)
OKLCHoklch(29.4% 0.106 302.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 #371A57 14.50:1 AAA Lc -103.9 Preferred for body text
Black text on #371A57 1.44:1 Fails Lc 0.0 Not readable
#371A57 text on white 14.50:1 AAA Lc 100.9 Preferred for body text
#371A57 text on black 1.44: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A755FF

    oklch(63.1% 0.241 302)

  7. Step 600

    600

    #961DF6

    oklch(55.7% 0.279 302.1)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #6810AD

    oklch(42.7% 0.215 302.1)

  10. Step 900

    900

    #541C89

    oklch(37.7% 0.167 302)

  11. Step 950

    950 (this color)

    #371A57

    oklch(29.4% 0.106 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#371A57 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)#0029590.081
Deuteranopia (no green cones)#0429560.079
Tritanopia (no blue cones)#3127360.077
Achromatopsia (no color)#2929290.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #371A57

    #371A57

    oklch(29.4% 0.106 302.1)

  • #263100

    #263100

    oklch(29.2% 0.071 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #371A57

    #371A57

    oklch(29.4% 0.106 302.1)

  • #1C2460

    #1C2460

    oklch(29.4% 0.106 272.3)

  • #481143

    #481143

    oklch(29.3% 0.106 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #371A57

    #371A57

    oklch(29.4% 0.106 302.1)

  • #372B00

    #372B00

    oklch(29.4% 0.06 92.3)

  • #003718

    #003718

    oklch(29.5% 0.077 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #371A57

    #371A57

    oklch(29.4% 0.106 302.1)

  • #442300

    #442300

    oklch(29.4% 0.068 61.5)

  • #00352E

    #00352E

    oklch(29.5% 0.053 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #371A57

    #371A57

    oklch(29.4% 0.106 302.1)

  • #550D03

    #550D03

    oklch(29.4% 0.105 32)

  • #263100

    #263100

    oklch(29.2% 0.071 122.2)

  • #00333B

    #00333B

    oklch(29.5% 0.051 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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