#542147

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.092 338.4), rgb(84, 33, 71).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.68:1
White text12.45:1

Values

HEX#542147
RGBrgb(84, 33, 71)
HSLhsl(315, 44%, 23%)
OKLCHoklch(33.7% 0.092 338.4)

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 #542147 12.45:1 AAA Lc -101.4 Preferred for body text
Black text on #542147 1.68:1 Fails Lc 0.0 Not readable
#542147 text on white 12.45:1 AAA Lc 97.9 Preferred for body text
#542147 text on black 1.68: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

    #EBD0E2

    oklch(88.5% 0.038 338.1)

  4. Step 300

    300

    #DFB0D0

    oklch(80.9% 0.069 338.2)

  5. Step 400

    400

    #CD85B8

    oklch(70.6% 0.11 338.2)

  6. Step 500

    500

    #BF65A6

    oklch(63.2% 0.14 338.6)

  7. Step 600

    600

    #AA4991

    oklch(55.5% 0.154 338.6)

  8. Step 700

    700

    #923A7C

    oklch(49.2% 0.143 338.5)

  9. Step 800

    800

    #763165

    oklch(42.7% 0.117 338)

  10. Step 900

    900 (this color)

    #542147

    oklch(33.7% 0.092 338.4)

  11. Step 950

    950

    #381A30

    oklch(26.9% 0.058 338)

Export this scale for Tailwind in the Tailwind colors tool

#542147 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)#232F480.096
Deuteranopia (no green cones)#3137460.087
Tritanopia (no blue cones)#5923300.045
Achromatopsia (no color)#3434340.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #542147

    #542147

    oklch(33.7% 0.092 338.4)

  • #004327

    #004327

    oklch(33.7% 0.079 158.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542147

    #542147

    oklch(33.7% 0.092 338.4)

  • #44275B

    #44275B

    oklch(33.5% 0.093 307.9)

  • #5C1E2E

    #5C1E2E

    oklch(33.6% 0.092 7.7)

Open the analogous palette in the generator

Split complementary

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

  • #542147

    #542147

    oklch(33.7% 0.092 338.4)

  • #293F00

    #293F00

    oklch(33.6% 0.088 128.4)

  • #00413D

    #00413D

    oklch(33.8% 0.059 187.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542147

    #542147

    oklch(33.7% 0.092 338.4)

  • #413700

    #413700

    oklch(33.7% 0.07 97.8)

  • #003E4C

    #003E4C

    oklch(33.6% 0.061 218.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542147

    #542147

    oklch(33.7% 0.092 338.4)

  • #4F2F00

    #4F2F00

    oklch(33.7% 0.073 69.4)

  • #004327

    #004327

    oklch(33.7% 0.079 158.1)

  • #003963

    #003963

    oklch(33.7% 0.091 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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