#540E53

Closest named color: Plum Purple (#4E0550). oklch(32.2% 0.13 328.7), rgb(84, 14, 83).

Aa

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

About this color

#540E53 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.130 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.020 away. White text reads best on it, at 13.42:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.56:1
White text13.42:1

Values

HEX#540E53
RGBrgb(84, 14, 83)
HSLhsl(301, 71%, 19%)
OKLCHoklch(32.2% 0.13 328.7)

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 #540E53 13.42:1 AAA Lc -102.2 Preferred for body text
Black text on #540E53 1.56:1 Fails Lc 0.0 Not readable
#540E53 text on white 13.42:1 AAA Lc 98.9 Preferred for body text
#540E53 text on black 1.56: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 950.

  1. Step 50

    50

    #FEF1FC

    oklch(97.1% 0.02 330.6)

  2. Step 100

    100

    #FBE0F9

    oklch(93.6% 0.044 328.2)

  3. Step 200

    200

    #F9C5F5

    oklch(88.4% 0.086 328.8)

  4. Step 300

    300

    #F69BF2

    oklch(81% 0.153 328.4)

  5. Step 400

    400

    #EE56EA

    oklch(70.7% 0.246 328.9)

  6. Step 500

    500

    #DE00DC

    oklch(63.1% 0.289 328.9)

  7. Step 600

    600

    #BB00BA

    oklch(55.5% 0.255 328.6)

  8. Step 700

    700

    #9E009D

    oklch(49% 0.225 328.7)

  9. Step 800

    800

    #830082

    oklch(42.7% 0.196 328.8)

  10. Step 900

    900

    #6E006D

    oklch(37.7% 0.173 328.8)

  11. Step 950

    950 (this color)

    #540E53

    oklch(32.2% 0.13 328.7)

Export this scale for Tailwind in the Tailwind colors tool

#540E53 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)#0129550.142
Deuteranopia (no green cones)#2332510.118
Tritanopia (no blue cones)#5719300.072
Achromatopsia (no color)#2F2F2F0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #540E53

    #540E53

    oklch(32.2% 0.13 328.7)

  • #003F16

    #003F16

    oklch(32.1% 0.091 148.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540E53

    #540E53

    oklch(32.2% 0.13 328.7)

  • #3E1B6B

    #3E1B6B

    oklch(32.2% 0.131 298.7)

  • #620132

    #620132

    oklch(32.3% 0.13 359)

Open the analogous palette in the generator

Split complementary

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

  • #540E53

    #540E53

    oklch(32.2% 0.13 328.7)

  • #303800

    #303800

    oklch(32.2% 0.075 118.2)

  • #003D34

    #003D34

    oklch(32.2% 0.059 179.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540E53

    #540E53

    oklch(32.2% 0.13 328.7)

  • #413100

    #413100

    oklch(32.2% 0.066 88.7)

  • #003B42

    #003B42

    oklch(32.2% 0.055 207.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540E53

    #540E53

    oklch(32.2% 0.13 328.7)

  • #4F2800

    #4F2800

    oklch(32.2% 0.076 59.3)

  • #003F16

    #003F16

    oklch(32.1% 0.091 148.8)

  • #003754

    #003754

    oklch(32.1% 0.073 239.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #540E53 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.