#542540

Closest named color: Grape Purple (#5D1451). oklch(34% 0.079 346.6), rgb(84, 37, 64).

Aa

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

About this color

#542540 is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.079 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.052 away. White text reads best on it, at 12.24:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.71:1
White text12.24:1

Values

HEX#542540
RGBrgb(84, 37, 64)
HSLhsl(326, 39%, 24%)
OKLCHoklch(34% 0.079 346.6)

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 #542540 12.24:1 AAA Lc -101.1 Preferred for body text
Black text on #542540 1.71:1 Fails Lc 0.0 Not readable
#542540 text on white 12.24:1 AAA Lc 97.6 Preferred for body text
#542540 text on black 1.71: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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F3E5EC

    oklch(93.5% 0.018 345.6)

  3. Step 200

    200

    #EAD1DD

    oklch(88.5% 0.032 347.1)

  4. Step 300

    300

    #DEB2C8

    oklch(80.9% 0.058 346.9)

  5. Step 400

    400

    #CC88AC

    oklch(70.6% 0.095 346.8)

  6. Step 500

    500

    #BD6998

    oklch(63% 0.121 346.5)

  7. Step 600

    600

    #A85083

    oklch(55.7% 0.13 346.3)

  8. Step 700

    700

    #90406E

    oklch(49.1% 0.121 346.9)

  9. Step 800

    800

    #75355A

    oklch(42.7% 0.101 346.5)

  10. Step 900

    900 (this color)

    #542540

    oklch(34% 0.079 346.6)

  11. Step 950

    950

    #381C2B

    oklch(27.1% 0.049 347.6)

Export this scale for Tailwind in the Tailwind colors tool

#542540 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)#2930410.085
Deuteranopia (no green cones)#36383F0.076
Tritanopia (no blue cones)#59242F0.031
Achromatopsia (no color)#3535350.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #542540

    #542540

    oklch(34% 0.079 346.6)

  • #004330

    #004330

    oklch(34% 0.07 166.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542540

    #542540

    oklch(34% 0.079 346.6)

  • #482A53

    #482A53

    oklch(34.1% 0.078 316.5)

  • #5A2429

    #5A2429

    oklch(34% 0.08 16.7)

Open the analogous palette in the generator

Split complementary

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

  • #542540

    #542540

    oklch(34% 0.079 346.6)

  • #234114

    #234114

    oklch(34% 0.079 136.7)

  • #004142

    #004142

    oklch(34% 0.058 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542540

    #542540

    oklch(34% 0.079 346.6)

  • #3D3A00

    #3D3A00

    oklch(34.1% 0.073 106.4)

  • #003E52

    #003E52

    oklch(33.9% 0.066 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542540

    #542540

    oklch(34% 0.079 346.6)

  • #4C3200

    #4C3200

    oklch(33.9% 0.071 77.1)

  • #004330

    #004330

    oklch(34% 0.07 166.9)

  • #1A3860

    #1A3860

    oklch(34% 0.079 256.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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