#731F6F

Closest named color: Purple (#800080). oklch(40.6% 0.151 330), rgb(115, 31, 111).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.151)
Temperaturein between
Nearest namePurple (#800080)
Black text2.15:1
White text9.74:1

Values

HEX#731F6F
RGBrgb(115, 31, 111)
HSLhsl(303, 58%, 29%)
OKLCHoklch(40.6% 0.151 330)

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 #731F6F 9.74:1 AAA Lc -95.9 Preferred for body text
Black text on #731F6F 2.15:1 Fails Lc 12.3 Not readable
#731F6F text on white 9.74:1 AAA Lc 91.6 Preferred for body text
#731F6F text on black 2.15:1 Fails Lc -10.7 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #EDCEE9

    oklch(88.5% 0.05 330.2)

  4. Step 300

    300

    #E2ACDC

    oklch(80.9% 0.089 330.1)

  5. Step 400

    400

    #D17ECA

    oklch(70.7% 0.141 330)

  6. Step 500

    500

    #C359BC

    oklch(63% 0.18 330)

  7. Step 600

    600

    #AE3AA8

    oklch(55.5% 0.196 330)

  8. Step 700

    700

    #952B90

    oklch(49% 0.182 329.9)

  9. Step 800

    800 (this color)

    #731F6F

    oklch(40.6% 0.151 330)

  10. Step 900

    900

    #62255F

    oklch(37.7% 0.117 329.6)

  11. Step 950

    950

    #3A1737

    oklch(27.1% 0.073 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#731F6F 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)#163D710.161
Deuteranopia (no green cones)#37486D0.137
Tritanopia (no blue cones)#772A440.083
Achromatopsia (no color)#4444440.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F6F

    #731F6F

    oklch(40.6% 0.151 330)

  • #005925

    #005925

    oklch(40.5% 0.112 149.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F6F

    #731F6F

    oklch(40.6% 0.151 330)

  • #582E8D

    #582E8D

    oklch(40.8% 0.15 300.1)

  • #841246

    #841246

    oklch(40.7% 0.151 0)

Open the analogous palette in the generator

Split complementary

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

  • #731F6F

    #731F6F

    oklch(40.6% 0.151 330)

  • #435000

    #435000

    oklch(40.5% 0.096 119.8)

  • #00564B

    #00564B

    oklch(40.6% 0.074 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F6F

    #731F6F

    oklch(40.6% 0.151 330)

  • #5B4700

    #5B4700

    oklch(40.7% 0.083 90.3)

  • #00535E

    #00535E

    oklch(40.5% 0.07 210.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F6F

    #731F6F

    oklch(40.6% 0.151 330)

  • #6E3A00

    #6E3A00

    oklch(40.6% 0.096 59.3)

  • #005925

    #005925

    oklch(40.5% 0.112 149.8)

  • #004F76

    #004F76

    oklch(40.7% 0.093 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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