#542C55

Closest named color: Grape Purple (#5D1451). oklch(36.2% 0.085 326.3), rgb(84, 44, 85).

Aa

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

About this color

#542C55 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.085 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 11.23:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.86:1
White text11.23:1

Values

HEX#542C55
RGBrgb(84, 44, 85)
HSLhsl(299, 32%, 25%)
OKLCHoklch(36.2% 0.085 326.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 #542C55 11.23:1 AAA Lc -99.5 Preferred for body text
Black text on #542C55 1.86:1 Fails Lc 8.2 Not readable
#542C55 text on white 11.23:1 AAA Lc 95.7 Preferred for body text
#542C55 text on black 1.86: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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E6D1E6

    oklch(88.4% 0.036 325.9)

  4. Step 300

    300

    #D7B3D7

    oklch(80.9% 0.064 326.1)

  5. Step 400

    400

    #C28AC2

    oklch(70.7% 0.101 326.6)

  6. Step 500

    500

    #B16CB3

    oklch(63.1% 0.129 326)

  7. Step 600

    600

    #9D529F

    oklch(55.7% 0.141 326.3)

  8. Step 700

    700

    #864288

    oklch(49.2% 0.132 326.3)

  9. Step 800

    800

    #6D376E

    oklch(42.8% 0.108 326.6)

  10. Step 900

    900 (this color)

    #542C55

    oklch(36.2% 0.085 326.3)

  11. Step 950

    950

    #341C34

    oklch(26.9% 0.054 327)

Export this scale for Tailwind in the Tailwind colors tool

#542C55 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)#2838560.081
Deuteranopia (no green cones)#333D540.073
Tritanopia (no blue cones)#56303C0.049
Achromatopsia (no color)#3B3B3B0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #542C55

    #542C55

    oklch(36.2% 0.085 326.3)

  • #1A4921

    #1A4921

    oklch(36.2% 0.084 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542C55

    #542C55

    oklch(36.2% 0.085 326.3)

  • #423364

    #423364

    oklch(36.2% 0.083 296.1)

  • #5F283F

    #5F283F

    oklch(36.2% 0.085 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #542C55

    #542C55

    oklch(36.2% 0.085 326.3)

  • #3C4200

    #3C4200

    oklch(36.1% 0.082 115.4)

  • #00493C

    #00493C

    oklch(36.2% 0.068 175.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542C55

    #542C55

    oklch(36.2% 0.085 326.3)

  • #4F3A00

    #4F3A00

    oklch(36.2% 0.074 85.7)

  • #00474E

    #00474E

    oklch(36.3% 0.062 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542C55

    #542C55

    oklch(36.2% 0.085 326.3)

  • #5E3005

    #5E3005

    oklch(36.2% 0.084 56.5)

  • #1A4921

    #1A4921

    oklch(36.2% 0.084 146.4)

  • #004361

    #004361

    oklch(36.2% 0.078 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #542C55 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.