#54175D

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.128 322.3), rgb(84, 23, 93).

Aa

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

About this color

#54175D is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.128 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.030 away. White text reads best on it, at 12.66:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.65:1
White text12.66:1

Values

HEX#54175D
RGBrgb(84, 23, 93)
HSLhsl(292, 60%, 23%)
OKLCHoklch(33.7% 0.128 322.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 #54175D 12.66:1 AAA Lc -101.4 Preferred for body text
Black text on #54175D 1.65:1 Fails Lc 0.0 Not readable
#54175D text on white 12.66:1 AAA Lc 97.9 Preferred for body text
#54175D text on black 1.65: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEE

    oklch(88.5% 0.053 323.1)

  4. Step 300

    300

    #DEACE6

    oklch(80.9% 0.097 321.7)

  5. Step 400

    400

    #CD7DD9

    oklch(70.7% 0.155 322.2)

  6. Step 500

    500

    #BE57CE

    oklch(63% 0.197 322.1)

  7. Step 600

    600

    #AA36BB

    oklch(55.7% 0.214 322.3)

  8. Step 700

    700

    #9126A1

    oklch(49% 0.199 322.1)

  9. Step 800

    800

    #762382

    oklch(42.7% 0.164 322.3)

  10. Step 900

    900 (this color)

    #54175D

    oklch(33.7% 0.128 322.3)

  11. Step 950

    950

    #38163D

    oklch(27% 0.081 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#54175D 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)#002E5F0.133
Deuteranopia (no green cones)#21355B0.112
Tritanopia (no blue cones)#5523380.076
Achromatopsia (no color)#3333330.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #54175D

    #54175D

    oklch(33.7% 0.128 322.3)

  • #024500

    #024500

    oklch(33.9% 0.114 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54175D

    #54175D

    oklch(33.7% 0.128 322.3)

  • #3C2372

    #3C2372

    oklch(33.7% 0.129 292.7)

  • #640B3E

    #640B3E

    oklch(33.8% 0.129 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #54175D

    #54175D

    oklch(33.7% 0.128 322.3)

  • #383B00

    #383B00

    oklch(33.8% 0.075 112.9)

  • #004233

    #004233

    oklch(33.8% 0.066 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54175D

    #54175D

    oklch(33.7% 0.128 322.3)

  • #493300

    #493300

    oklch(33.8% 0.07 82.1)

  • #004044

    #004044

    oklch(33.8% 0.058 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54175D

    #54175D

    oklch(33.7% 0.128 322.3)

  • #582700

    #582700

    oklch(33.5% 0.086 52.1)

  • #024500

    #024500

    oklch(33.9% 0.114 142.2)

  • #003D55

    #003D55

    oklch(33.8% 0.069 232.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54175D 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.