#731F72

Closest named color: Purple (#800080). oklch(40.8% 0.153 328.4), rgb(115, 31, 114).

Aa

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

About this color

#731F72 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.153 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.042 away. White text reads best on it, at 9.68:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.153)
Temperaturein between
Nearest namePurple (#800080)
Black text2.16:1
White text9.68:1

Values

HEX#731F72
RGBrgb(115, 31, 114)
HSLhsl(301, 58%, 29%)
OKLCHoklch(40.8% 0.153 328.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 #731F72 9.68:1 AAA Lc -95.8 Preferred for body text
Black text on #731F72 2.16:1 Fails Lc 12.5 Not readable
#731F72 text on white 9.68:1 AAA Lc 91.5 Preferred for body text
#731F72 text on black 2.16:1 Fails Lc -10.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEA

    oklch(88.5% 0.05 328.1)

  4. Step 300

    300

    #E1ACDE

    oklch(80.9% 0.09 328.2)

  5. Step 400

    400

    #D07ECD

    oklch(70.7% 0.143 328.3)

  6. Step 500

    500

    #C259C0

    oklch(63.1% 0.183 328.2)

  7. Step 600

    600

    #AD3AAC

    oklch(55.6% 0.198 328.2)

  8. Step 700

    700

    #952A93

    oklch(49.1% 0.185 328.7)

  9. Step 800

    800 (this color)

    #731F72

    oklch(40.8% 0.153 328.4)

  10. Step 900

    900

    #622560

    oklch(37.8% 0.118 328.9)

  11. Step 950

    950

    #391639

    oklch(26.9% 0.077 327.4)

Export this scale for Tailwind in the Tailwind colors tool

#731F72 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)#123D740.163
Deuteranopia (no green cones)#3648700.137
Tritanopia (no blue cones)#772B460.085
Achromatopsia (no color)#4444440.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F72

    #731F72

    oklch(40.8% 0.153 328.4)

  • #005A21

    #005A21

    oklch(40.8% 0.117 148.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F72

    #731F72

    oklch(40.8% 0.153 328.4)

  • #572E90

    #572E90

    oklch(40.9% 0.154 298.5)

  • #851149

    #851149

    oklch(40.9% 0.154 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #731F72

    #731F72

    oklch(40.8% 0.153 328.4)

  • #455000

    #455000

    oklch(40.7% 0.095 118.4)

  • #00574A

    #00574A

    oklch(40.9% 0.075 178)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F72

    #731F72

    oklch(40.8% 0.153 328.4)

  • #5C4700

    #5C4700

    oklch(40.9% 0.084 89.3)

  • #00545E

    #00545E

    oklch(40.8% 0.07 208.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F72

    #731F72

    oklch(40.8% 0.153 328.4)

  • #6F3A00

    #6F3A00

    oklch(40.7% 0.097 58.7)

  • #005A21

    #005A21

    oklch(40.8% 0.117 148.3)

  • #005075

    #005075

    oklch(40.9% 0.091 237.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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