#804D71

Closest named color: Dark Mauve (#874C62). oklch(49.1% 0.085 338.6), rgb(128, 77, 113).

Aa

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

About this color

#804D71 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.085 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.027 away. White text reads best on it, at 6.52:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text3.21:1
White text6.52:1

Values

HEX#804D71
RGBrgb(128, 77, 113)
HSLhsl(318, 25%, 40%)
OKLCHoklch(49.1% 0.085 338.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 #804D71 6.52:1 AA Lc -87.2 Fine for body text
Black text on #804D71 3.21:1 AA large text Lc 21.9 Dividers and decoration only
#804D71 text on white 6.52:1 AA Lc 82.2 Fine for body text
#804D71 text on black 3.21:1 AA large text Lc -19.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E4D4DE

    oklch(88.6% 0.022 339.6)

  4. Step 300

    300

    #D3B7CA

    oklch(80.9% 0.041 337.7)

  5. Step 400

    400

    #BD91AF

    oklch(70.7% 0.067 338.4)

  6. Step 500

    500

    #AB759B

    oklch(63% 0.085 338.1)

  7. Step 600

    600

    #965E85

    oklch(55.6% 0.09 338.9)

  8. Step 700

    700 (this color)

    #804D71

    oklch(49.1% 0.085 338.6)

  9. Step 800

    800

    #683F5C

    oklch(42.6% 0.071 338.4)

  10. Step 900

    900

    #55364B

    oklch(37.7% 0.055 339.5)

  11. Step 950

    950

    #32202C

    oklch(27.1% 0.034 339.7)

Export this scale for Tailwind in the Tailwind colors tool

#804D71 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)#4E59720.087
Deuteranopia (no green cones)#5B60700.078
Tritanopia (no blue cones)#854E5A0.039
Achromatopsia (no color)#5E5E5E0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #804D71

    #804D71

    oklch(49.1% 0.085 338.6)

  • #2F6F4F

    #2F6F4F

    oklch(49% 0.084 159.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #804D71

    #804D71

    oklch(49.1% 0.085 338.6)

  • #6F5386

    #6F5386

    oklch(49.2% 0.085 308.7)

  • #894B57

    #894B57

    oklch(49% 0.085 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #804D71

    #804D71

    oklch(49.1% 0.085 338.6)

  • #526A33

    #526A33

    oklch(49.1% 0.085 128.6)

  • #02706A

    #02706A

    oklch(49.2% 0.085 188.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #804D71

    #804D71

    oklch(49.1% 0.085 338.6)

  • #6D6120

    #6D6120

    oklch(49.1% 0.085 98.7)

  • #0F6C81

    #0F6C81

    oklch(49.2% 0.085 218.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #804D71

    #804D71

    oklch(49.1% 0.085 338.6)

  • #805725

    #805725

    oklch(49.1% 0.085 68.7)

  • #2F6F4F

    #2F6F4F

    oklch(49% 0.084 159.2)

  • #37648F

    #37648F

    oklch(49.1% 0.085 249)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #804D71 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.