#540E49

Closest named color: Plum Purple (#4E0550). oklch(31.5% 0.122 335.5), rgb(84, 14, 73).

Aa

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

About this color

#540E49 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.122 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.025 away. White text reads best on it, at 13.67:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest namePlum Purple (#4E0550)
Black text1.53:1
White text13.67:1

Values

HEX#540E49
RGBrgb(84, 14, 73)
HSLhsl(309, 71%, 19%)
OKLCHoklch(31.5% 0.122 335.5)

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 #540E49 13.67:1 AAA Lc -102.5 Preferred for body text
Black text on #540E49 1.53:1 Fails Lc 0.0 Not readable
#540E49 text on white 13.67:1 AAA Lc 99.3 Preferred for body text
#540E49 text on black 1.53: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

    #FEF1FB

    oklch(97.1% 0.019 333.5)

  2. Step 100

    100

    #FDE0F5

    oklch(93.6% 0.042 335.7)

  3. Step 200

    200

    #FCC6EE

    oklch(88.6% 0.08 335.7)

  4. Step 300

    300

    #FA9BE5

    oklch(80.9% 0.145 335.4)

  5. Step 400

    400

    #F259D7

    oklch(70.6% 0.231 335.4)

  6. Step 500

    500

    #E500C9

    oklch(63.1% 0.28 335.4)

  7. Step 600

    600

    #C200A9

    oklch(55.7% 0.247 335.7)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #870076

    oklch(42.7% 0.19 335.3)

  10. Step 900

    900

    #720063

    oklch(37.8% 0.168 335.5)

  11. Step 950

    950 (this color)

    #540E49

    oklch(31.5% 0.122 335.5)

Export this scale for Tailwind in the Tailwind colors tool

#540E49 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)#0E274B0.134
Deuteranopia (no green cones)#2831470.114
Tritanopia (no blue cones)#59142B0.060
Achromatopsia (no color)#2E2E2E0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #540E49

    #540E49

    oklch(31.5% 0.122 335.5)

  • #003D20

    #003D20

    oklch(31.6% 0.077 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540E49

    #540E49

    oklch(31.5% 0.122 335.5)

  • #411A62

    #411A62

    oklch(31.6% 0.122 305.2)

  • #5F0429

    #5F0429

    oklch(31.5% 0.122 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #540E49

    #540E49

    oklch(31.5% 0.122 335.5)

  • #283800

    #283800

    oklch(31.5% 0.079 125.4)

  • #003B36

    #003B36

    oklch(31.7% 0.056 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540E49

    #540E49

    oklch(31.5% 0.122 335.5)

  • #3C3100

    #3C3100

    oklch(31.6% 0.065 95.3)

  • #003843

    #003843

    oklch(31.4% 0.056 215.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540E49

    #540E49

    oklch(31.5% 0.122 335.5)

  • #492900

    #492900

    oklch(31.5% 0.07 66.1)

  • #003D20

    #003D20

    oklch(31.6% 0.077 155.5)

  • #003457

    #003457

    oklch(31.5% 0.08 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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