#731F66

Closest named color: Rich Purple (#720058). oklch(40.1% 0.143 334.8), rgb(115, 31, 102).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.143)
Temperaturein between
Nearest nameRich Purple (#720058)
Black text2.11:1
White text9.92:1

Values

HEX#731F66
RGBrgb(115, 31, 102)
HSLhsl(309, 58%, 29%)
OKLCHoklch(40.1% 0.143 334.8)

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 #731F66 9.92:1 AAA Lc -96.3 Preferred for body text
Black text on #731F66 2.11:1 Fails Lc 11.9 Not readable
#731F66 text on white 9.92:1 AAA Lc 92.1 Preferred for body text
#731F66 text on black 2.11:1 Fails Lc -10.3 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 900.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F2

    oklch(93.5% 0.032 335.4)

  3. Step 200

    200

    #F3CBE9

    oklch(88.5% 0.06 335)

  4. Step 300

    300

    #ECA6DC

    oklch(80.9% 0.107 335.1)

  5. Step 400

    400

    #E072CB

    oklch(70.7% 0.173 334.9)

  6. Step 500

    500

    #D445BD

    oklch(63.2% 0.22 335)

  7. Step 600

    600

    #BF13A9

    oklch(55.6% 0.239 334.9)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #850976

    oklch(42.7% 0.184 334.6)

  10. Step 900

    900 (this color)

    #731F66

    oklch(40.1% 0.143 334.8)

  11. Step 950

    950

    #3F1038

    oklch(27% 0.091 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#731F66 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)#1E3B680.155
Deuteranopia (no green cones)#3C47640.132
Tritanopia (no blue cones)#7925400.071
Achromatopsia (no color)#4343430.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F66

    #731F66

    oklch(40.1% 0.143 334.8)

  • #00572F

    #00572F

    oklch(40.1% 0.099 155)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F66

    #731F66

    oklch(40.1% 0.143 334.8)

  • #5A2C84

    #5A2C84

    oklch(40% 0.143 304.8)

  • #81163E

    #81163E

    oklch(40.1% 0.143 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #731F66

    #731F66

    oklch(40.1% 0.143 334.8)

  • #3C5100

    #3C5100

    oklch(40.2% 0.101 124.9)

  • #00544D

    #00544D

    oklch(40.1% 0.071 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F66

    #731F66

    oklch(40.1% 0.143 334.8)

  • #564700

    #564700

    oklch(40.2% 0.082 95.2)

  • #005160

    #005160

    oklch(40.1% 0.071 215.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F66

    #731F66

    oklch(40.1% 0.143 334.8)

  • #683C00

    #683C00

    oklch(40.1% 0.09 65.4)

  • #00572F

    #00572F

    oklch(40.1% 0.099 155)

  • #004C7A

    #004C7A

    oklch(40.2% 0.1 244.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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