#54387A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.5% 0.11 301.3), rgb(84, 56, 122).

Aa

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

About this color

#54387A is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.110 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.036 away. White text reads best on it, at 9.44:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.22:1
White text9.44:1

Values

HEX#54387A
RGBrgb(84, 56, 122)
HSLhsl(265, 37%, 35%)
OKLCHoklch(40.5% 0.11 301.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 #54387A 9.44:1 AAA Lc -95.9 Preferred for body text
Black text on #54387A 2.22:1 Fails Lc 12.3 Not readable
#54387A text on white 9.44:1 AAA Lc 91.6 Preferred for body text
#54387A text on black 2.22:1 Fails Lc -10.8 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4ED

    oklch(88.5% 0.035 302)

  4. Step 300

    300

    #C7B8E4

    oklch(80.9% 0.063 300.6)

  5. Step 400

    400

    #AC91D6

    oklch(70.6% 0.103 301.8)

  6. Step 500

    500

    #9875CB

    oklch(63.2% 0.13 301.6)

  7. Step 600

    600

    #835CB8

    oklch(55.7% 0.142 301.5)

  8. Step 700

    700

    #6E4B9F

    oklch(49.1% 0.133 300.9)

  9. Step 800

    800 (this color)

    #54387A

    oklch(40.5% 0.11 301.3)

  10. Step 900

    900

    #4A3567

    oklch(37.6% 0.086 301.8)

  11. Step 950

    950

    #2B203C

    oklch(27.1% 0.052 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#54387A 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)#21467C0.078
Deuteranopia (no green cones)#2946780.072
Tritanopia (no blue cones)#4D44530.083
Achromatopsia (no color)#4646460.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #54387A

    #54387A

    oklch(40.5% 0.11 301.3)

  • #415000

    #415000

    oklch(40.4% 0.097 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54387A

    #54387A

    oklch(40.5% 0.11 301.3)

  • #344384

    #344384

    oklch(40.6% 0.11 271)

  • #692F64

    #692F64

    oklch(40.5% 0.11 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #54387A

    #54387A

    oklch(40.5% 0.11 301.3)

  • #5A4700

    #5A4700

    oklch(40.6% 0.083 91.2)

  • #005928

    #005928

    oklch(40.6% 0.109 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54387A

    #54387A

    oklch(40.5% 0.11 301.3)

  • #6C3B00

    #6C3B00

    oklch(40.5% 0.094 61.6)

  • #00564B

    #00564B

    oklch(40.6% 0.074 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54387A

    #54387A

    oklch(40.5% 0.11 301.3)

  • #792D21

    #792D21

    oklch(40.5% 0.109 31.3)

  • #415000

    #415000

    oklch(40.4% 0.097 121.2)

  • #00535F

    #00535F

    oklch(40.6% 0.071 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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