#801F71

Closest named color: Purple (#800080). oklch(42.9% 0.16 335.1), rgb(128, 31, 113).

Aa

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

About this color

#801F71 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.160 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.040 away. White text reads best on it, at 8.92:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.160)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.35:1
White text8.92:1

Values

HEX#801F71
RGBrgb(128, 31, 113)
HSLhsl(309, 61%, 31%)
OKLCHoklch(42.9% 0.16 335.1)

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 #801F71 8.92:1 AAA Lc -93.9 Preferred for body text
Black text on #801F71 2.35:1 Fails Lc 14.6 Not readable
#801F71 text on white 8.92:1 AAA Lc 89.4 Fine for body text
#801F71 text on black 2.35:1 Fails Lc -12.9 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 800.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE7

    oklch(88.6% 0.052 335.1)

  4. Step 300

    300

    #E7AAD9

    oklch(80.9% 0.094 334.8)

  5. Step 400

    400

    #D87AC5

    oklch(70.7% 0.149 335)

  6. Step 500

    500

    #CC53B6

    oklch(63.2% 0.191 335.3)

  7. Step 600

    600

    #B730A2

    oklch(55.6% 0.208 335.1)

  8. Step 700

    700

    #9D218B

    oklch(49.2% 0.193 335)

  9. Step 800

    800 (this color)

    #801F71

    oklch(42.9% 0.16 335.1)

  10. Step 900

    900

    #67205B

    oklch(37.7% 0.125 335.1)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#801F71 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)#1F40730.174
Deuteranopia (no green cones)#414F6F0.149
Tritanopia (no blue cones)#8727460.080
Achromatopsia (no color)#4A4A4A0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #801F71

    #801F71

    oklch(42.9% 0.16 335.1)

  • #006034

    #006034

    oklch(42.9% 0.107 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #801F71

    #801F71

    oklch(42.9% 0.16 335.1)

  • #652F94

    #652F94

    oklch(43% 0.16 305.1)

  • #901243

    #901243

    oklch(42.8% 0.16 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #801F71

    #801F71

    oklch(42.9% 0.16 335.1)

  • #425900

    #425900

    oklch(42.9% 0.108 125.1)

  • #005D55

    #005D55

    oklch(43% 0.076 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #801F71

    #801F71

    oklch(42.9% 0.16 335.1)

  • #5F4E00

    #5F4E00

    oklch(42.9% 0.088 94.5)

  • #005969

    #005969

    oklch(42.7% 0.076 215.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #801F71

    #801F71

    oklch(42.9% 0.16 335.1)

  • #734200

    #734200

    oklch(42.9% 0.097 64.5)

  • #006034

    #006034

    oklch(42.9% 0.107 154.8)

  • #005386

    #005386

    oklch(42.8% 0.108 245.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #801F71 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.