#731A71

Closest named color: Purple (#800080). oklch(40.3% 0.158 329), rgb(115, 26, 113).

Aa

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

About this color

#731A71 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.158 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.040 away. White text reads best on it, at 9.92:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.158)
Temperaturein between
Nearest namePurple (#800080)
Black text2.11:1
White text9.92:1

Values

HEX#731A71
RGBrgb(115, 26, 113)
HSLhsl(301, 63%, 28%)
OKLCHoklch(40.3% 0.158 329)

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 #731A71 9.92:1 AAA Lc -96.2 Preferred for body text
Black text on #731A71 2.11:1 Fails Lc 12.0 Not readable
#731A71 text on white 9.92:1 AAA Lc 91.9 Preferred for body text
#731A71 text on black 2.11:1 Fails Lc -10.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCEEA

    oklch(88.6% 0.051 329.1)

  4. Step 300

    300

    #E2ABDE

    oklch(80.8% 0.093 328.8)

  5. Step 400

    400

    #D27CCD

    oklch(70.6% 0.148 329.1)

  6. Step 500

    500

    #C556C0

    oklch(63.1% 0.19 329.3)

  7. Step 600

    600

    #B036AD

    oklch(55.7% 0.206 328.9)

  8. Step 700

    700

    #972694

    oklch(49.1% 0.192 329.2)

  9. Step 800

    800 (this color)

    #731A71

    oklch(40.3% 0.158 329)

  10. Step 900

    900

    #632361

    oklch(37.7% 0.123 328.9)

  11. Step 950

    950

    #3A1639

    oklch(27% 0.077 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#731A71 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)#0A3B730.171
Deuteranopia (no green cones)#34476F0.143
Tritanopia (no blue cones)#7727440.087
Achromatopsia (no color)#4343430.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #731A71

    #731A71

    oklch(40.3% 0.158 329)

  • #005822

    #005822

    oklch(40.2% 0.114 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731A71

    #731A71

    oklch(40.3% 0.158 329)

  • #562A90

    #562A90

    oklch(40.2% 0.159 298.7)

  • #850846

    #850846

    oklch(40.4% 0.158 359.4)

Open the analogous palette in the generator

Split complementary

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

  • #731A71

    #731A71

    oklch(40.3% 0.158 329)

  • #434F00

    #434F00

    oklch(40.3% 0.095 119.2)

  • #005549

    #005549

    oklch(40.2% 0.074 178.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731A71

    #731A71

    oklch(40.3% 0.158 329)

  • #5A4500

    #5A4500

    oklch(40.2% 0.082 88.8)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731A71

    #731A71

    oklch(40.3% 0.158 329)

  • #6D3900

    #6D3900

    oklch(40.2% 0.095 58.9)

  • #005822

    #005822

    oklch(40.2% 0.114 148.9)

  • #004E74

    #004E74

    oklch(40.3% 0.091 239.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #731A71 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.