#3B237A

Closest named color: Indigo (#4B0082). oklch(34.3% 0.139 289.7), rgb(59, 35, 122).

Aa

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

About this color

#3B237A is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.139 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.052 away. White text reads best on it, at 12.29:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameIndigo (#4B0082)
Black text1.70:1
White text12.29:1

Values

HEX#3B237A
RGBrgb(59, 35, 122)
HSLhsl(257, 55%, 31%)
OKLCHoklch(34.3% 0.139 289.7)

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 #3B237A 12.29:1 AAA Lc -101.0 Preferred for body text
Black text on #3B237A 1.70:1 Fails Lc 0.0 Not readable
#3B237A text on white 12.29:1 AAA Lc 97.5 Preferred for body text
#3B237A text on black 1.70: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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D3FE

    oklch(88.5% 0.059 290.5)

  4. Step 300

    300

    #BFB6FF

    oklch(81% 0.102 289.6)

  5. Step 400

    400

    #A08CFF

    oklch(70.8% 0.164 289.5)

  6. Step 500

    500

    #8C68FF

    oklch(63.1% 0.214 289.8)

  7. Step 600

    600

    #7849EE

    oklch(55.6% 0.232 289.7)

  8. Step 700

    700

    #6538CF

    oklch(49% 0.216 289.6)

  9. Step 800

    800

    #5231A7

    oklch(42.7% 0.178 289.5)

  10. Step 900

    900 (this color)

    #3B237A

    oklch(34.3% 0.139 289.7)

  11. Step 950

    950

    #271C4E

    oklch(27.1% 0.088 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#3B237A 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)#00367D0.074
Deuteranopia (no green cones)#0033780.073
Tritanopia (no blue cones)#25394B0.113
Achromatopsia (no color)#3535350.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B237A

    #3B237A

    oklch(34.3% 0.139 289.7)

  • #3C3C00

    #3C3C00

    oklch(34.5% 0.075 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B237A

    #3B237A

    oklch(34.3% 0.139 289.7)

  • #00327E

    #00327E

    oklch(34.2% 0.138 259.8)

  • #561564

    #561564

    oklch(34.3% 0.138 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #3B237A

    #3B237A

    oklch(34.3% 0.139 289.7)

  • #4C3400

    #4C3400

    oklch(34.4% 0.071 80.2)

  • #114500

    #114500

    oklch(34.2% 0.109 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B237A

    #3B237A

    oklch(34.3% 0.139 289.7)

  • #5D2700

    #5D2700

    oklch(34.4% 0.092 49.5)

  • #004433

    #004433

    oklch(34.4% 0.068 169.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B237A

    #3B237A

    oklch(34.3% 0.139 289.7)

  • #6F0019

    #6F0019

    oklch(34.3% 0.138 19.4)

  • #3C3C00

    #3C3C00

    oklch(34.5% 0.075 109.8)

  • #004244

    #004244

    oklch(34.4% 0.059 198.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3B237A 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.