#371E6B

Closest named color: Royal Purple (#4B006E). oklch(31.8% 0.126 292.6), rgb(55, 30, 107).

Aa

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

About this color

#371E6B is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.126 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.055 away. White text reads best on it, at 13.45:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.56:1
White text13.45:1

Values

HEX#371E6B
RGBrgb(55, 30, 107)
HSLhsl(259, 56%, 27%)
OKLCHoklch(31.8% 0.126 292.6)

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 #371E6B 13.45:1 AAA Lc -102.7 Preferred for body text
Black text on #371E6B 1.56:1 Fails Lc 0.0 Not readable
#371E6B text on white 13.45:1 AAA Lc 99.4 Preferred for body text
#371E6B text on black 1.56: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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #DAD2FF

    oklch(88.5% 0.062 293.2)

  4. Step 300

    300

    #C2B4FF

    oklch(80.9% 0.105 292.4)

  5. Step 400

    400

    #A589FF

    oklch(70.7% 0.169 292.5)

  6. Step 500

    500

    #9264FF

    oklch(63% 0.219 292.7)

  7. Step 600

    600

    #8232FF

    oklch(55.6% 0.272 292.8)

  8. Step 700

    700

    #7100E9

    oklch(49.2% 0.274 292.7)

  9. Step 800

    800

    #5C00C1

    oklch(42.6% 0.238 292.5)

  10. Step 900

    900

    #4C0E9E

    oklch(37.7% 0.199 292.8)

  11. Step 950

    950 (this color)

    #371E6B

    oklch(31.8% 0.126 292.6)

Export this scale for Tailwind in the Tailwind colors tool

#371E6B 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)#00306D0.074
Deuteranopia (no green cones)#002D690.073
Tritanopia (no blue cones)#2731420.099
Achromatopsia (no color)#2F2F2F0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #371E6B

    #371E6B

    oklch(31.8% 0.126 292.6)

  • #333500

    #333500

    oklch(31.6% 0.07 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #371E6B

    #371E6B

    oklch(31.8% 0.126 292.6)

  • #0B2B71

    #0B2B71

    oklch(31.7% 0.127 262.8)

  • #4E1256

    #4E1256

    oklch(31.7% 0.125 322.7)

Open the analogous palette in the generator

Split complementary

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

  • #371E6B

    #371E6B

    oklch(31.8% 0.126 292.6)

  • #422E00

    #422E00

    oklch(31.6% 0.065 82.4)

  • #003F01

    #003F01

    oklch(31.9% 0.108 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #371E6B

    #371E6B

    oklch(31.8% 0.126 292.6)

  • #512400

    #512400

    oklch(31.8% 0.081 52.8)

  • #003C2F

    #003C2F

    oklch(31.7% 0.061 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #371E6B

    #371E6B

    oklch(31.8% 0.126 292.6)

  • #630210

    #630210

    oklch(31.7% 0.126 22.8)

  • #333500

    #333500

    oklch(31.6% 0.07 112.1)

  • #003A3E

    #003A3E

    oklch(31.7% 0.054 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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