#54287A

Closest named color: Dark Slate Blue (#483D8B). oklch(38% 0.135 305.5), rgb(84, 40, 122).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.96:1
White text10.70:1

Values

HEX#54287A
RGBrgb(84, 40, 122)
HSLhsl(272, 51%, 32%)
OKLCHoklch(38% 0.135 305.5)

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 #54287A 10.70:1 AAA Lc -98.3 Preferred for body text
Black text on #54287A 1.96:1 Fails Lc 9.6 Not readable
#54287A text on white 10.70:1 AAA Lc 94.3 Preferred for body text
#54287A text on black 1.96:1 Fails Lc -8.3 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 900.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FA

    oklch(93.5% 0.03 305.1)

  3. Step 200

    200

    #E2D0F8

    oklch(88.5% 0.057 305.6)

  4. Step 300

    300

    #D0B0F5

    oklch(80.9% 0.101 305.4)

  5. Step 400

    400

    #B983F0

    oklch(70.7% 0.162 305.5)

  6. Step 500

    500

    #A85EEB

    oklch(63% 0.208 305.4)

  7. Step 600

    600

    #943ED9

    oklch(55.6% 0.225 305.5)

  8. Step 700

    700

    #7E2EBC

    oklch(49.1% 0.209 305.4)

  9. Step 800

    800

    #672898

    oklch(42.7% 0.174 305.9)

  10. Step 900

    900 (this color)

    #54287A

    oklch(38% 0.135 305.5)

  11. Step 950

    950

    #311847

    oklch(27% 0.086 306)

Export this scale for Tailwind in the Tailwind colors tool

#54287A 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)#003D7D0.111
Deuteranopia (no green cones)#133E780.103
Tritanopia (no blue cones)#4D394D0.097
Achromatopsia (no color)#3E3E3E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #54287A

    #54287A

    oklch(38% 0.135 305.5)

  • #364A00

    #364A00

    oklch(37.8% 0.095 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54287A

    #54287A

    oklch(38% 0.135 305.5)

  • #313688

    #313688

    oklch(38% 0.135 275.3)

  • #6B1C5D

    #6B1C5D

    oklch(38% 0.135 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #54287A

    #54287A

    oklch(38% 0.135 305.5)

  • #4F4100

    #4F4100

    oklch(37.9% 0.078 95.1)

  • #00502C

    #00502C

    oklch(37.9% 0.092 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54287A

    #54287A

    oklch(38% 0.135 305.5)

  • #603700

    #603700

    oklch(37.9% 0.085 65.4)

  • #004D47

    #004D47

    oklch(37.8% 0.066 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54287A

    #54287A

    oklch(38% 0.135 305.5)

  • #791C00

    #791C00

    oklch(38.1% 0.132 35.5)

  • #364A00

    #364A00

    oklch(37.8% 0.095 125.3)

  • #004B59

    #004B59

    oklch(38% 0.067 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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