#54007C

Closest named color: Indigo (#4B0082). oklch(34.6% 0.176 309.1), rgb(84, 0, 124).

Aa

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

About this color

#54007C is a dark, vivid purple. In OKLCH its lightness is 35%, its chroma 0.176 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.024 away. White text reads best on it, at 12.58:1.

Hue familyPurples
Lightnessdark (35%)
Chromavivid (0.176)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.66:1
White text12.58:1

Values

HEX#54007C
RGBrgb(84, 0, 124)
HSLhsl(281, 100%, 24%)
OKLCHoklch(34.6% 0.176 309.1)

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 #54007C 12.58:1 AAA Lc -100.2 Preferred for body text
Black text on #54007C 1.66:1 Fails Lc 7.3 Not readable
#54007C text on white 12.58:1 AAA Lc 96.6 Preferred for body text
#54007C text on black 1.66:1 Fails Lc 0.0 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F1E3FE

    oklch(93.5% 0.039 308.8)

  3. Step 200

    200

    #E7CDFF

    oklch(88.6% 0.073 308.4)

  4. Step 300

    300

    #D9A9FF

    oklch(80.9% 0.128 309.3)

  5. Step 400

    400

    #C675FF

    oklch(70.7% 0.205 309.2)

  6. Step 500

    500

    #B842FF

    oklch(63.1% 0.266 309)

  7. Step 600

    600

    #A300EC

    oklch(55.6% 0.283 308.9)

  8. Step 700

    700

    #8A00C8

    oklch(49.2% 0.25 309.1)

  9. Step 800

    800

    #7100A5

    oklch(42.6% 0.217 309)

  10. Step 900

    900 (this color)

    #54007C

    oklch(34.6% 0.176 309.1)

  11. Step 950

    950

    #360F4E

    oklch(27% 0.111 309)

Export this scale for Tailwind in the Tailwind colors tool

#54007C 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)#00317F0.135
Deuteranopia (no green cones)#00347A0.137
Tritanopia (no blue cones)#4E2A460.119
Achromatopsia (no color)#3333330.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #54007C

    #54007C

    oklch(34.6% 0.176 309.1)

  • #2A4200

    #2A4200

    oklch(34.6% 0.092 129.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54007C

    #54007C

    oklch(34.6% 0.176 309.1)

  • #2F1D91

    #2F1D91

    oklch(34.7% 0.176 279)

  • #660052

    #660052

    oklch(34.5% 0.151 339.2)

Open the analogous palette in the generator

Split complementary

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

  • #54007C

    #54007C

    oklch(34.6% 0.176 309.1)

  • #433A00

    #433A00

    oklch(34.7% 0.072 99.5)

  • #00462A

    #00462A

    oklch(34.7% 0.08 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54007C

    #54007C

    oklch(34.6% 0.176 309.1)

  • #523100

    #523100

    oklch(34.6% 0.075 69.4)

  • #004340

    #004340

    oklch(34.5% 0.06 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54007C

    #54007C

    oklch(34.6% 0.176 309.1)

  • #661D00

    #661D00

    oklch(34.5% 0.111 39)

  • #2A4200

    #2A4200

    oklch(34.6% 0.092 129.1)

  • #004150

    #004150

    oklch(34.7% 0.063 219.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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