#542548

Closest named color: Grape Purple (#5D1451). oklch(34.3% 0.085 338), rgb(84, 37, 72).

Aa

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

About this color

#542548 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.085 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.042 away. White text reads best on it, at 12.10:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.73:1
White text12.10:1

Values

HEX#542548
RGBrgb(84, 37, 72)
HSLhsl(315, 39%, 24%)
OKLCHoklch(34.3% 0.085 338)

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 #542548 12.10:1 AAA Lc -100.9 Preferred for body text
Black text on #542548 1.73:1 Fails Lc 0.0 Not readable
#542548 text on white 12.10:1 AAA Lc 97.3 Preferred for body text
#542548 text on black 1.73: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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD1E1

    oklch(88.6% 0.035 339.2)

  4. Step 300

    300

    #DDB1CF

    oklch(80.9% 0.064 338.1)

  5. Step 400

    400

    #CA87B7

    oklch(70.6% 0.103 337.7)

  6. Step 500

    500

    #BB68A5

    oklch(63.1% 0.131 337.8)

  7. Step 600

    600

    #A64E90

    oklch(55.6% 0.141 337.8)

  8. Step 700

    700

    #8E3E7A

    oklch(49% 0.132 338.1)

  9. Step 800

    800

    #743464

    oklch(42.8% 0.11 337.9)

  10. Step 900

    900 (this color)

    #542548

    oklch(34.3% 0.085 338)

  11. Step 950

    950

    #371B30

    oklch(27% 0.055 337)

Export this scale for Tailwind in the Tailwind colors tool

#542548 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)#2631490.089
Deuteranopia (no green cones)#3339470.081
Tritanopia (no blue cones)#5827330.040
Achromatopsia (no color)#3636360.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #542548

    #542548

    oklch(34.3% 0.085 338)

  • #004528

    #004528

    oklch(34.4% 0.081 157.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542548

    #542548

    oklch(34.3% 0.085 338)

  • #452B5A

    #452B5A

    oklch(34.3% 0.084 308.1)

  • #5C2330

    #5C2330

    oklch(34.4% 0.084 8.5)

Open the analogous palette in the generator

Split complementary

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

  • #542548

    #542548

    oklch(34.3% 0.085 338)

  • #2C4105

    #2C4105

    oklch(34.5% 0.086 128)

  • #00433F

    #00433F

    oklch(34.5% 0.06 188.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542548

    #542548

    oklch(34.3% 0.085 338)

  • #433900

    #433900

    oklch(34.5% 0.071 98.2)

  • #00404E

    #00404E

    oklch(34.3% 0.062 218.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542548

    #542548

    oklch(34.3% 0.085 338)

  • #523000

    #523000

    oklch(34.4% 0.075 68)

  • #004528

    #004528

    oklch(34.4% 0.081 157.8)

  • #093B62

    #093B62

    oklch(34.3% 0.085 247.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #542548 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.