#54517A

Closest named color: Dusk (#4E5481). oklch(45.5% 0.066 286.8), rgb(84, 81, 122).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamuted (0.066)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.83:1
White text7.40:1

Values

HEX#54517A
RGBrgb(84, 81, 122)
HSLhsl(244, 20%, 40%)
OKLCHoklch(45.5% 0.066 286.8)

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 #54517A 7.40:1 AAA Lc -90.6 Preferred for body text
Black text on #54517A 2.83:1 Fails Lc 18.3 Dividers and decoration only
#54517A text on white 7.40:1 AAA Lc 85.7 Fine for body text
#54517A text on black 2.83:1 Fails Lc -16.3 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

    #BEBDD9

    oklch(80.8% 0.039 287.1)

  5. Step 400

    400

    #9D9BC6

    oklch(70.6% 0.062 286.8)

  6. Step 500

    500

    #8682B7

    oklch(63% 0.079 287.4)

  7. Step 600

    600

    #706BA3

    oklch(55.5% 0.086 287.3)

  8. Step 700

    700

    #5D598C

    oklch(49% 0.081 286.6)

  9. Step 800

    800 (this color)

    #54517A

    oklch(45.5% 0.066 286.8)

  10. Step 900

    900

    #3F3D5C

    oklch(37.6% 0.053 286.5)

  11. Step 950

    950

    #252436

    oklch(27% 0.033 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#54517A 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)#45567C0.025
Deuteranopia (no green cones)#4554790.023
Tritanopia (no blue cones)#4B58600.056
Achromatopsia (no color)#5555550.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #54517A

    #54517A

    oklch(45.5% 0.066 286.8)

  • #5B592B

    #5B592B

    oklch(45.5% 0.066 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54517A

    #54517A

    oklch(45.5% 0.066 286.8)

  • #3E587B

    #3E587B

    oklch(45.5% 0.066 256.1)

  • #664B6F

    #664B6F

    oklch(45.6% 0.066 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #54517A

    #54517A

    oklch(45.5% 0.066 286.8)

  • #6C5229

    #6C5229

    oklch(45.7% 0.067 77.1)

  • #455F3A

    #455F3A

    oklch(45.4% 0.066 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54517A

    #54517A

    oklch(45.5% 0.066 286.8)

  • #754B36

    #754B36

    oklch(45.5% 0.066 47.1)

  • #2D634F

    #2D634F

    oklch(45.7% 0.067 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54517A

    #54517A

    oklch(45.5% 0.066 286.8)

  • #77474A

    #77474A

    oklch(45.5% 0.066 16)

  • #5B592B

    #5B592B

    oklch(45.5% 0.066 106.5)

  • #1E6263

    #1E6263

    oklch(45.5% 0.066 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54517A 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.