#54478C

Closest named color: Twilight (#4E518B). oklch(44.5% 0.11 289.8), rgb(84, 71, 140).

Aa

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

About this color

#54478C is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.110 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.028 away. White text reads best on it, at 7.90:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.65:1
White text7.90:1

Values

HEX#54478C
RGBrgb(84, 71, 140)
HSLhsl(251, 33%, 41%)
OKLCHoklch(44.5% 0.11 289.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 #54478C 7.90:1 AAA Lc -92.0 Preferred for body text
Black text on #54478C 2.65:1 Fails Lc 16.7 Dividers and decoration only
#54478C text on white 7.90:1 AAA Lc 87.3 Fine for body text
#54478C text on black 2.65:1 Fails Lc -14.9 Not readable

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

    #BFBAE8

    oklch(80.8% 0.065 289.9)

  5. Step 400

    400

    #9F95DD

    oklch(70.6% 0.104 289.8)

  6. Step 500

    500

    #897AD3

    oklch(63.1% 0.131 289.8)

  7. Step 600

    600

    #7461C0

    oklch(55.6% 0.143 290.2)

  8. Step 700

    700

    #6150A6

    oklch(49.1% 0.133 289.7)

  9. Step 800

    800 (this color)

    #54478C

    oklch(44.5% 0.11 289.8)

  10. Step 900

    900

    #41386C

    oklch(37.6% 0.087 289.5)

  11. Step 950

    950

    #26213F

    oklch(26.9% 0.055 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#54478C 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)#2D538E0.058
Deuteranopia (no green cones)#2E508A0.056
Tritanopia (no blue cones)#4555630.091
Achromatopsia (no color)#5151510.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #54478C

    #54478C

    oklch(44.5% 0.11 289.8)

  • #585800

    #585800

    oklch(44.6% 0.097 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54478C

    #54478C

    oklch(44.5% 0.11 289.8)

  • #2D5290

    #2D5290

    oklch(44.4% 0.111 260.1)

  • #6E3D79

    #6E3D79

    oklch(44.5% 0.11 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #54478C

    #54478C

    oklch(44.5% 0.11 289.8)

  • #6E4D00

    #6E4D00

    oklch(44.5% 0.092 80.2)

  • #2F6222

    #2F6222

    oklch(44.5% 0.11 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54478C

    #54478C

    oklch(44.5% 0.11 289.8)

  • #833E0D

    #833E0D

    oklch(44.6% 0.111 49.8)

  • #00634C

    #00634C

    oklch(44.4% 0.088 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54478C

    #54478C

    oklch(44.5% 0.11 289.8)

  • #86363A

    #86363A

    oklch(44.4% 0.11 19.7)

  • #585800

    #585800

    oklch(44.6% 0.097 109.8)

  • #006064

    #006064

    oklch(44.4% 0.076 199.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54478C 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.