#54185F

Closest named color: Grape Purple (#5D1451). oklch(34% 0.129 321), rgb(84, 24, 95).

Aa

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

About this color

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

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

Values

HEX#54185F
RGBrgb(84, 24, 95)
HSLhsl(291, 60%, 23%)
OKLCHoklch(34% 0.129 321)

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 #54185F 12.55:1 AAA Lc -101.2 Preferred for body text
Black text on #54185F 1.67:1 Fails Lc 0.0 Not readable
#54185F text on white 12.55:1 AAA Lc 97.7 Preferred for body text
#54185F text on black 1.67: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

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEEF

    oklch(88.5% 0.054 321.1)

  4. Step 300

    300

    #DEACE7

    oklch(80.9% 0.098 321.2)

  5. Step 400

    400

    #CC7DDB

    oklch(70.7% 0.156 321)

  6. Step 500

    500

    #BD57D0

    oklch(63% 0.198 321.1)

  7. Step 600

    600

    #A836BD

    oklch(55.5% 0.215 321)

  8. Step 700

    700

    #9027A3

    oklch(49.1% 0.199 321)

  9. Step 800

    800

    #752384

    oklch(42.7% 0.165 321)

  10. Step 900

    900 (this color)

    #54185F

    oklch(34% 0.129 321)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#54185F 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)#002F610.131
Deuteranopia (no green cones)#20365D0.112
Tritanopia (no blue cones)#5525390.079
Achromatopsia (no color)#3333330.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #54185F

    #54185F

    oklch(34% 0.129 321)

  • #0A4500

    #0A4500

    oklch(34.1% 0.112 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54185F

    #54185F

    oklch(34% 0.129 321)

  • #3B2474

    #3B2474

    oklch(33.9% 0.13 291.1)

  • #640C40

    #640C40

    oklch(33.9% 0.129 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #54185F

    #54185F

    oklch(34% 0.129 321)

  • #3A3B00

    #3A3B00

    oklch(34% 0.075 110.8)

  • #004333

    #004333

    oklch(34.1% 0.067 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54185F

    #54185F

    oklch(34% 0.129 321)

  • #4A3300

    #4A3300

    oklch(33.9% 0.07 80.9)

  • #004044

    #004044

    oklch(33.8% 0.058 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54185F

    #54185F

    oklch(34% 0.129 321)

  • #5A2700

    #5A2700

    oklch(33.9% 0.088 51)

  • #0A4500

    #0A4500

    oklch(34.1% 0.112 141)

  • #003E55

    #003E55

    oklch(34.1% 0.069 230.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54185F 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.