#3B277A

Closest named color: Indigo (#4B0082). oklch(34.9% 0.134 288.6), rgb(59, 39, 122).

Aa

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

About this color

#3B277A is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.134 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.059 away. White text reads best on it, at 11.95:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameIndigo (#4B0082)
Black text1.75:1
White text11.95:1

Values

HEX#3B277A
RGBrgb(59, 39, 122)
HSLhsl(254, 52%, 32%)
OKLCHoklch(34.9% 0.134 288.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 #3B277A 11.95:1 AAA Lc -100.5 Preferred for body text
Black text on #3B277A 1.75:1 Fails Lc 0.0 Not readable
#3B277A text on white 11.95:1 AAA Lc 96.9 Preferred for body text
#3B277A text on black 1.75: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300

    #BEB6FE

    oklch(80.9% 0.101 289)

  5. Step 400

    400

    #9E8DFD

    oklch(70.7% 0.16 288.6)

  6. Step 500

    500

    #896BFB

    oklch(63% 0.205 288.7)

  7. Step 600

    600

    #754DEA

    oklch(55.5% 0.223 288.6)

  8. Step 700

    700

    #633DCC

    oklch(49.2% 0.207 288.5)

  9. Step 800

    800

    #5034A5

    oklch(42.8% 0.172 288.3)

  10. Step 900

    900 (this color)

    #3B277A

    oklch(34.9% 0.134 288.6)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#3B277A 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)#00397D0.071
Deuteranopia (no green cones)#0035780.070
Tritanopia (no blue cones)#253B4D0.108
Achromatopsia (no color)#3737370.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B277A

    #3B277A

    oklch(34.9% 0.134 288.6)

  • #3E3D00

    #3E3D00

    oklch(35% 0.076 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B277A

    #3B277A

    oklch(34.9% 0.134 288.6)

  • #00357D

    #00357D

    oklch(34.8% 0.133 258.7)

  • #561A66

    #561A66

    oklch(35% 0.134 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #3B277A

    #3B277A

    oklch(34.9% 0.134 288.6)

  • #4F3500

    #4F3500

    oklch(35% 0.073 78.4)

  • #164700

    #164700

    oklch(35.1% 0.11 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B277A

    #3B277A

    oklch(34.9% 0.134 288.6)

  • #602700

    #602700

    oklch(34.9% 0.095 48.1)

  • #004634

    #004634

    oklch(35% 0.07 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B277A

    #3B277A

    oklch(34.9% 0.134 288.6)

  • #70071D

    #70071D

    oklch(35% 0.134 18.6)

  • #3E3D00

    #3E3D00

    oklch(35% 0.076 108.7)

  • #004446

    #004446

    oklch(35.1% 0.06 198.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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