#54507E

Closest named color: Dusk (#4E5481). oklch(45.5% 0.074 287), rgb(84, 80, 126).

Aa

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

About this color

#54507E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.074 and its hue 287°. 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.43:1.

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

Values

HEX#54507E
RGBrgb(84, 80, 126)
HSLhsl(245, 22%, 40%)
OKLCHoklch(45.5% 0.074 287)

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 #54507E 7.43:1 AAA Lc -90.6 Preferred for body text
Black text on #54507E 2.82:1 Fails Lc 18.2 Dividers and decoration only
#54507E text on white 7.43:1 AAA Lc 85.8 Fine for body text
#54507E text on black 2.82: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

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D7D7E9

    oklch(88.5% 0.025 285.9)

  4. Step 300

    300

    #BEBDDC

    oklch(80.9% 0.043 286.9)

  5. Step 400

    400

    #9D9ACA

    oklch(70.6% 0.07 287.3)

  6. Step 500

    500

    #8681BD

    oklch(63.1% 0.089 287.4)

  7. Step 600

    600

    #706AA9

    oklch(55.7% 0.096 287.2)

  8. Step 700

    700

    #5E5891

    oklch(49.1% 0.09 287.4)

  9. Step 800

    800 (this color)

    #54507E

    oklch(45.5% 0.074 287)

  10. Step 900

    900

    #3F3D5F

    oklch(37.7% 0.058 286)

  11. Step 950

    950

    #252438

    oklch(27.1% 0.037 286)

Export this scale for Tailwind in the Tailwind colors tool

#54507E 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)#4256800.029
Deuteranopia (no green cones)#42547D0.028
Tritanopia (no blue cones)#4A58610.062
Achromatopsia (no color)#5555550.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #54507E

    #54507E

    oklch(45.5% 0.074 287)

  • #5B5924

    #5B5924

    oklch(45.4% 0.074 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54507E

    #54507E

    oklch(45.5% 0.074 287)

  • #3B5880

    #3B5880

    oklch(45.6% 0.074 256.6)

  • #674972

    #674972

    oklch(45.4% 0.074 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #54507E

    #54507E

    oklch(45.5% 0.074 287)

  • #6E5122

    #6E5122

    oklch(45.6% 0.074 77)

  • #436036

    #436036

    oklch(45.5% 0.074 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54507E

    #54507E

    oklch(45.5% 0.074 287)

  • #784931

    #784931

    oklch(45.4% 0.074 47.3)

  • #25644E

    #25644E

    oklch(45.6% 0.074 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54507E

    #54507E

    oklch(45.5% 0.074 287)

  • #7B4548

    #7B4548

    oklch(45.6% 0.074 16.9)

  • #5B5924

    #5B5924

    oklch(45.4% 0.074 107)

  • #0C6365

    #0C6365

    oklch(45.5% 0.074 197.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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