#504A71

Closest named color: Dusk (#4E5481). oklch(43.2% 0.064 290.5), rgb(80, 74, 113).

Aa

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

About this color

#504A71 is a dark, muted purple. In OKLCH its lightness is 43%, its chroma 0.064 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.034 away. White text reads best on it, at 8.20:1.

Hue familyPurples
Lightnessdark (43%)
Chromamuted (0.064)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.55:1
White text8.20:1

Values

HEX#504A71
RGBrgb(80, 74, 113)
HSLhsl(249, 21%, 37%)
OKLCHoklch(43.2% 0.064 290.5)

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 #504A71 8.20:1 AAA Lc -93.0 Preferred for body text
Black text on #504A71 2.55:1 Fails Lc 15.7 Dividers and decoration only
#504A71 text on white 8.20:1 AAA Lc 88.3 Fine for body text
#504A71 text on black 2.55:1 Fails Lc -13.8 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 800.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D9D7E6

    oklch(88.5% 0.021 292.1)

  4. Step 300

    300

    #C0BDD8

    oklch(80.9% 0.038 290.6)

  5. Step 400

    400

    #A09BC4

    oklch(70.8% 0.059 290.4)

  6. Step 500

    500

    #8982B5

    oklch(63.2% 0.076 290.3)

  7. Step 600

    600

    #736BA1

    oklch(55.7% 0.083 290.2)

  8. Step 700

    700

    #605989

    oklch(49.1% 0.076 290)

  9. Step 800

    800 (this color)

    #504A71

    oklch(43.2% 0.064 290.5)

  10. Step 900

    900

    #413D5A

    oklch(37.7% 0.049 290.1)

  11. Step 950

    950

    #262435

    oklch(27% 0.031 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#504A71 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)#3F50730.029
Deuteranopia (no green cones)#404E700.026
Tritanopia (no blue cones)#4951580.054
Achromatopsia (no color)#4F4F4F0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #504A71

    #504A71

    oklch(43.2% 0.064 290.5)

  • #525328

    #525328

    oklch(43.1% 0.063 110)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504A71

    #504A71

    oklch(43.2% 0.064 290.5)

  • #3C5174

    #3C5174

    oklch(43.3% 0.064 260.3)

  • #604566

    #604566

    oklch(43.3% 0.063 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #504A71

    #504A71

    oklch(43.2% 0.064 290.5)

  • #624C24

    #624C24

    oklch(43% 0.064 80.7)

  • #3D5937

    #3D5937

    oklch(43.2% 0.064 140.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504A71

    #504A71

    oklch(43.2% 0.064 290.5)

  • #6D462F

    #6D462F

    oklch(43.3% 0.064 50.9)

  • #265C4B

    #265C4B

    oklch(43.3% 0.064 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504A71

    #504A71

    oklch(43.2% 0.064 290.5)

  • #6F4241

    #6F4241

    oklch(43.2% 0.063 21.4)

  • #525328

    #525328

    oklch(43.1% 0.063 110)

  • #195B5E

    #195B5E

    oklch(43.2% 0.064 199.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504A71 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.