#56517E

Closest named color: Dusk (#4E5481). oklch(45.9% 0.072 288.3), rgb(86, 81, 126).

Aa

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

About this color

#56517E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, 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.014 away. White text reads best on it, at 7.30:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.87:1
White text7.30:1

Values

HEX#56517E
RGBrgb(86, 81, 126)
HSLhsl(247, 22%, 41%)
OKLCHoklch(45.9% 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 #56517E 7.30:1 AAA Lc -90.2 Preferred for body text
Black text on #56517E 2.87:1 Fails Lc 18.7 Dividers and decoration only
#56517E text on white 7.30:1 AAA Lc 85.3 Fine for body text
#56517E text on black 2.87:1 Fails Lc -16.7 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 700.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D7E6

    oklch(88.4% 0.02 289)

  4. Step 300

    300

    #BFBDD7

    oklch(80.8% 0.036 289.1)

  5. Step 400

    400

    #9E9CC2

    oklch(70.8% 0.055 287.3)

  6. Step 500

    500

    #8783B3

    oklch(63.1% 0.072 288)

  7. Step 600

    600

    #716C9F

    oklch(55.6% 0.078 288.1)

  8. Step 700

    700 (this color)

    #56517E

    oklch(45.9% 0.072 288.3)

  9. Step 800

    800

    #4D4A6E

    oklch(42.8% 0.059 287.4)

  10. Step 900

    900

    #403E59

    oklch(37.8% 0.046 287.4)

  11. Step 950

    950

    #262434

    oklch(27% 0.03 290)

Export this scale for Tailwind in the Tailwind colors tool

#56517E 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)#4457800.029
Deuteranopia (no green cones)#44557D0.028
Tritanopia (no blue cones)#4C59610.062
Achromatopsia (no color)#5656560.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #56517E

    #56517E

    oklch(45.9% 0.072 288.3)

  • #5C5B27

    #5C5B27

    oklch(46% 0.073 107.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56517E

    #56517E

    oklch(45.9% 0.072 288.3)

  • #3E5980

    #3E5980

    oklch(46% 0.072 257.5)

  • #694B72

    #694B72

    oklch(46% 0.072 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #56517E

    #56517E

    oklch(45.9% 0.072 288.3)

  • #6E5324

    #6E5324

    oklch(46% 0.073 79)

  • #436139

    #436139

    oklch(45.8% 0.072 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56517E

    #56517E

    oklch(45.9% 0.072 288.3)

  • #794B33

    #794B33

    oklch(46% 0.073 47.9)

  • #276550

    #276550

    oklch(46% 0.073 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56517E

    #56517E

    oklch(45.9% 0.072 288.3)

  • #7B4748

    #7B4748

    oklch(46% 0.071 19)

  • #5C5B27

    #5C5B27

    oklch(46% 0.073 107.9)

  • #136467

    #136467

    oklch(46% 0.073 198.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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