#504B77

Closest named color: Dusk (#4E5481). oklch(43.7% 0.072 288.3), rgb(80, 75, 119).

Aa

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

About this color

#504B77 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.072 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.027 away. White text reads best on it, at 8.03:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.61:1
White text8.03:1

Values

HEX#504B77
RGBrgb(80, 75, 119)
HSLhsl(247, 23%, 38%)
OKLCHoklch(43.7% 0.072 288.3)

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 #504B77 8.03:1 AAA Lc -92.5 Preferred for body text
Black text on #504B77 2.61:1 Fails Lc 16.2 Dividers and decoration only
#504B77 text on white 8.03:1 AAA Lc 87.8 Fine for body text
#504B77 text on black 2.61:1 Fails Lc -14.4 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

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D8D7E8

    oklch(88.5% 0.023 288.6)

  4. Step 300

    300

    #BFBDDB

    oklch(81% 0.042 288.5)

  5. Step 400

    400

    #9E9AC9

    oklch(70.6% 0.068 288.4)

  6. Step 500

    500

    #8781BB

    oklch(63.1% 0.086 288.4)

  7. Step 600

    600

    #716AA7

    oklch(55.6% 0.093 288.2)

  8. Step 700

    700

    #5F588F

    oklch(49.1% 0.087 288.6)

  9. Step 800

    800 (this color)

    #504B77

    oklch(43.7% 0.072 288.3)

  10. Step 900

    900

    #403D5E

    oklch(37.8% 0.056 287.6)

  11. Step 950

    950

    #262437

    oklch(27.1% 0.035 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#504B77 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)#3E51790.030
Deuteranopia (no green cones)#3E4F760.028
Tritanopia (no blue cones)#47535B0.061
Achromatopsia (no color)#5050500.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #504B77

    #504B77

    oklch(43.7% 0.072 288.3)

  • #555522

    #555522

    oklch(43.8% 0.072 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504B77

    #504B77

    oklch(43.7% 0.072 288.3)

  • #395279

    #395279

    oklch(43.7% 0.072 259)

  • #62456B

    #62456B

    oklch(43.7% 0.07 318)

Open the analogous palette in the generator

Split complementary

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

  • #504B77

    #504B77

    oklch(43.7% 0.072 288.3)

  • #674C1F

    #674C1F

    oklch(43.6% 0.071 77.7)

  • #3D5B34

    #3D5B34

    oklch(43.7% 0.071 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504B77

    #504B77

    oklch(43.7% 0.072 288.3)

  • #72452D

    #72452D

    oklch(43.8% 0.072 48.2)

  • #215E4A

    #215E4A

    oklch(43.6% 0.071 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504B77

    #504B77

    oklch(43.7% 0.072 288.3)

  • #744142

    #744142

    oklch(43.7% 0.071 19.1)

  • #555522

    #555522

    oklch(43.8% 0.072 109)

  • #095E60

    #095E60

    oklch(43.8% 0.072 197.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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