#54217E

Closest named color: Indigo (#4B0082). oklch(37.3% 0.15 305.2), rgb(84, 33, 126).

Aa

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

About this color

#54217E is a dark, vivid purple. In OKLCH its lightness is 37%, its chroma 0.150 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.047 away. White text reads best on it, at 11.07:1.

Hue familyPurples
Lightnessdark (37%)
Chromavivid (0.150)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.89:1
White text11.07:1

Values

HEX#54217E
RGBrgb(84, 33, 126)
HSLhsl(273, 58%, 31%)
OKLCHoklch(37.3% 0.15 305.2)

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 #54217E 11.07:1 AAA Lc -98.8 Preferred for body text
Black text on #54217E 1.89:1 Fails Lc 9.0 Not readable
#54217E text on white 11.07:1 AAA Lc 94.9 Preferred for body text
#54217E text on black 1.89:1 Fails Lc -7.7 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E3CFFB

    oklch(88.5% 0.063 305.7)

  4. Step 300

    300

    #D2AEFB

    oklch(80.9% 0.113 305.4)

  5. Step 400

    400

    #BB7FF9

    oklch(70.7% 0.18 305)

  6. Step 500

    500

    #AB57F5

    oklch(63.1% 0.229 305.1)

  7. Step 600

    600

    #9731E4

    oklch(55.6% 0.249 305.1)

  8. Step 700

    700

    #8120C6

    oklch(49.1% 0.232 305.1)

  9. Step 800

    800

    #691FA0

    oklch(42.7% 0.192 305.3)

  10. Step 900

    900 (this color)

    #54217E

    oklch(37.3% 0.15 305.2)

  11. Step 950

    950

    #32164A

    oklch(27% 0.094 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#54217E 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)#003A810.115
Deuteranopia (no green cones)#003C7C0.117
Tritanopia (no blue cones)#4C374D0.107
Achromatopsia (no color)#3C3C3C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #54217E

    #54217E

    oklch(37.3% 0.15 305.2)

  • #354900

    #354900

    oklch(37.5% 0.095 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54217E

    #54217E

    oklch(37.3% 0.15 305.2)

  • #2E318D

    #2E318D

    oklch(37.3% 0.149 275)

  • #6C115F

    #6C115F

    oklch(37.3% 0.15 335)

Open the analogous palette in the generator

Split complementary

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

  • #54217E

    #54217E

    oklch(37.3% 0.15 305.2)

  • #4D4000

    #4D4000

    oklch(37.4% 0.077 96)

  • #004E2A

    #004E2A

    oklch(37.2% 0.092 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54217E

    #54217E

    oklch(37.3% 0.15 305.2)

  • #5E3600

    #5E3600

    oklch(37.4% 0.083 65.7)

  • #004C45

    #004C45

    oklch(37.4% 0.066 184.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54217E

    #54217E

    oklch(37.3% 0.15 305.2)

  • #761A00

    #761A00

    oklch(37.3% 0.13 35.1)

  • #354900

    #354900

    oklch(37.5% 0.095 125.4)

  • #004956

    #004956

    oklch(37.3% 0.066 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54217E 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.