#392478

Closest named color: Indigo (#4B0082). oklch(34.1% 0.135 288.6), rgb(57, 36, 120).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameIndigo (#4B0082)
Black text1.69:1
White text12.37:1

Values

HEX#392478
RGBrgb(57, 36, 120)
HSLhsl(255, 54%, 31%)
OKLCHoklch(34.1% 0.135 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 #392478 12.37:1 AAA Lc -101.2 Preferred for body text
Black text on #392478 1.69:1 Fails Lc 0.0 Not readable
#392478 text on white 12.37:1 AAA Lc 97.6 Preferred for body text
#392478 text on black 1.69: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

    #BEB6FF

    oklch(80.9% 0.102 288.9)

  5. Step 400

    400

    #9E8DFE

    oklch(70.7% 0.161 288.5)

  6. Step 500

    500

    #896BFC

    oklch(63.1% 0.207 288.6)

  7. Step 600

    600

    #754DEC

    oklch(55.7% 0.226 288.4)

  8. Step 700

    700

    #633CCD

    oklch(49.1% 0.209 288.5)

  9. Step 800

    800

    #5033A6

    oklch(42.7% 0.174 288.3)

  10. Step 900

    900 (this color)

    #392478

    oklch(34.1% 0.135 288.6)

  11. Step 950

    950

    #261C4D

    oklch(26.9% 0.087 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#392478 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)#00367B0.070
Deuteranopia (no green cones)#0032760.069
Tritanopia (no blue cones)#23394B0.109
Achromatopsia (no color)#3434340.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #392478

    #392478

    oklch(34.1% 0.135 288.6)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #392478

    #392478

    oklch(34.1% 0.135 288.6)

  • #003379

    #003379

    oklch(34% 0.13 258.7)

  • #541663

    #541663

    oklch(34% 0.135 319)

Open the analogous palette in the generator

Split complementary

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

  • #392478

    #392478

    oklch(34.1% 0.135 288.6)

  • #4C3300

    #4C3300

    oklch(34.2% 0.071 78.6)

  • #154400

    #154400

    oklch(34.1% 0.107 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #392478

    #392478

    oklch(34.1% 0.135 288.6)

  • #5C2600

    #5C2600

    oklch(34.1% 0.091 49)

  • #004332

    #004332

    oklch(34% 0.068 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #392478

    #392478

    oklch(34.1% 0.135 288.6)

  • #6D011B

    #6D011B

    oklch(34% 0.135 18.2)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

  • #004143

    #004143

    oklch(34.1% 0.058 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #392478 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.