#542E68

Closest named color: Grape Purple (#5D1451). oklch(37.6% 0.103 312.7), rgb(84, 46, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.96:1
White text10.67:1

Values

HEX#542E68
RGBrgb(84, 46, 104)
HSLhsl(279, 39%, 29%)
OKLCHoklch(37.6% 0.103 312.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 #542E68 10.67:1 AAA Lc -98.4 Preferred for body text
Black text on #542E68 1.96:1 Fails Lc 9.5 Not readable
#542E68 text on white 10.67:1 AAA Lc 94.5 Preferred for body text
#542E68 text on black 1.96:1 Fails Lc -8.1 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EE

    oklch(88.4% 0.044 312.8)

  4. Step 300

    300

    #D2B2E5

    oklch(80.8% 0.078 312.8)

  5. Step 400

    400

    #BB89D8

    oklch(70.7% 0.124 312.5)

  6. Step 500

    500

    #AA69CD

    oklch(63.1% 0.158 312.7)

  7. Step 600

    600

    #954EBA

    oklch(55.6% 0.172 312.5)

  8. Step 700

    700

    #7F3EA0

    oklch(49.1% 0.16 312.6)

  9. Step 800

    800

    #673482

    oklch(42.7% 0.132 312.3)

  10. Step 900

    900 (this color)

    #542E68

    oklch(37.6% 0.103 312.7)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#542E68 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)#1F3C6A0.089
Deuteranopia (no green cones)#2B3F670.079
Tritanopia (no blue cones)#5238460.072
Achromatopsia (no color)#3E3E3E0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #542E68

    #542E68

    oklch(37.6% 0.103 312.7)

  • #2A4C03

    #2A4C03

    oklch(37.6% 0.103 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542E68

    #542E68

    oklch(37.6% 0.103 312.7)

  • #3B3776

    #3B3776

    oklch(37.6% 0.104 283)

  • #652750

    #652750

    oklch(37.7% 0.104 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #542E68

    #542E68

    oklch(37.6% 0.103 312.7)

  • #4A4300

    #4A4300

    oklch(37.8% 0.079 102.7)

  • #004E34

    #004E34

    oklch(37.5% 0.081 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542E68

    #542E68

    oklch(37.6% 0.103 312.7)

  • #5B3900

    #5B3900

    oklch(37.6% 0.08 72.2)

  • #004C4B

    #004C4B

    oklch(37.7% 0.064 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542E68

    #542E68

    oklch(37.6% 0.103 312.7)

  • #6C2A09

    #6C2A09

    oklch(37.5% 0.103 42.9)

  • #2A4C03

    #2A4C03

    oklch(37.6% 0.103 132.9)

  • #00495C

    #00495C

    oklch(37.6% 0.07 222.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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