#54498D

Closest named color: Twilight (#4E518B). oklch(45% 0.108 288.7), rgb(84, 73, 141).

Aa

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

About this color

#54498D is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.108 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.024 away. White text reads best on it, at 7.73:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.71:1
White text7.73:1

Values

HEX#54498D
RGBrgb(84, 73, 141)
HSLhsl(250, 32%, 42%)
OKLCHoklch(45% 0.108 288.7)

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 #54498D 7.73:1 AAA Lc -91.5 Preferred for body text
Black text on #54498D 2.71:1 Fails Lc 17.3 Dividers and decoration only
#54498D text on white 7.73:1 AAA Lc 86.7 Fine for body text
#54498D text on black 2.71:1 Fails Lc -15.4 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D6F0

    oklch(88.6% 0.036 289.2)

  4. Step 300

    300

    #BEBBE8

    oklch(81% 0.063 288)

  5. Step 400

    400

    #9E96DC

    oklch(70.7% 0.101 288.8)

  6. Step 500

    500

    #877BD2

    oklch(63.1% 0.128 288.5)

  7. Step 600

    600

    #7262C0

    oklch(55.6% 0.142 288.8)

  8. Step 700

    700

    #6051A5

    oklch(49.1% 0.13 288.9)

  9. Step 800

    800 (this color)

    #54498D

    oklch(45% 0.108 288.7)

  10. Step 900

    900

    #40396B

    oklch(37.7% 0.084 288.1)

  11. Step 950

    950

    #26223F

    oklch(27.2% 0.053 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#54498D 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)#30548F0.054
Deuteranopia (no green cones)#30518B0.052
Tritanopia (no blue cones)#4457640.092
Achromatopsia (no color)#5353530.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #54498D

    #54498D

    oklch(45% 0.108 288.7)

  • #5A5900

    #5A5900

    oklch(45% 0.098 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54498D

    #54498D

    oklch(45% 0.108 288.7)

  • #2D5490

    #2D5490

    oklch(44.9% 0.108 258.8)

  • #6E3F7B

    #6E3F7B

    oklch(44.9% 0.108 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #54498D

    #54498D

    oklch(45% 0.108 288.7)

  • #714E00

    #714E00

    oklch(45.1% 0.094 78.9)

  • #336323

    #336323

    oklch(45% 0.108 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54498D

    #54498D

    oklch(45% 0.108 288.7)

  • #843F14

    #843F14

    oklch(45% 0.109 48.3)

  • #00654C

    #00654C

    oklch(45% 0.091 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54498D

    #54498D

    oklch(45% 0.108 288.7)

  • #87383D

    #87383D

    oklch(45% 0.108 18.7)

  • #5A5900

    #5A5900

    oklch(45% 0.098 109)

  • #006265

    #006265

    oklch(45% 0.077 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54498D 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.