#56517B

Closest named color: Dusk (#4E5481). oklch(45.8% 0.068 288.9), rgb(86, 81, 123).

Aa

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

About this color

#56517B is a medium-dark, muted purple. In OKLCH its lightness is 46%, its chroma 0.068 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.016 away. White text reads best on it, at 7.34:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.85:1
White text7.34:1

Values

HEX#56517B
RGBrgb(86, 81, 123)
HSLhsl(247, 21%, 40%)
OKLCHoklch(45.8% 0.068 288.9)

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 #56517B 7.34:1 AAA Lc -90.3 Preferred for body text
Black text on #56517B 2.85:1 Fails Lc 18.5 Dividers and decoration only
#56517B text on white 7.34:1 AAA Lc 85.5 Fine for body text
#56517B text on black 2.85:1 Fails Lc -16.5 Dividers and decoration only

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

    #D8D7E7

    oklch(88.5% 0.022 288.8)

  4. Step 300

    300

    #BFBDD9

    oklch(80.9% 0.039 288.8)

  5. Step 400

    400

    #9F9BC6

    oklch(70.8% 0.062 289)

  6. Step 500

    500

    #8782B8

    oklch(63.2% 0.08 288.1)

  7. Step 600

    600

    #726AA4

    oklch(55.6% 0.089 289.5)

  8. Step 700

    700

    #5F598C

    oklch(49.2% 0.081 288.5)

  9. Step 800

    800 (this color)

    #56517B

    oklch(45.8% 0.068 288.9)

  10. Step 900

    900

    #403D5C

    oklch(37.7% 0.053 288)

  11. Step 950

    950

    #262436

    oklch(27.1% 0.033 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#56517B 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)#45577D0.028
Deuteranopia (no green cones)#45557A0.027
Tritanopia (no blue cones)#4D58600.057
Achromatopsia (no color)#5656560.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #56517B

    #56517B

    oklch(45.8% 0.068 288.9)

  • #5A5A2B

    #5A5A2B

    oklch(45.6% 0.067 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56517B

    #56517B

    oklch(45.8% 0.068 288.9)

  • #40587D

    #40587D

    oklch(45.7% 0.068 258.8)

  • #684B70

    #684B70

    oklch(45.8% 0.068 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #56517B

    #56517B

    oklch(45.8% 0.068 288.9)

  • #6C5328

    #6C5328

    oklch(45.9% 0.068 79.2)

  • #44613B

    #44613B

    oklch(45.9% 0.069 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56517B

    #56517B

    oklch(45.8% 0.068 288.9)

  • #764C35

    #764C35

    oklch(45.8% 0.067 49.2)

  • #2B6451

    #2B6451

    oklch(45.9% 0.068 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56517B

    #56517B

    oklch(45.8% 0.068 288.9)

  • #794748

    #794748

    oklch(45.7% 0.069 18.8)

  • #5A5A2B

    #5A5A2B

    oklch(45.6% 0.067 108.8)

  • #1C6366

    #1C6366

    oklch(45.9% 0.068 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #56517B 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.