#731F5B

Closest named color: Velvet (#750851). oklch(39.5% 0.135 341.4), rgb(115, 31, 91).

Aa

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

About this color

#731F5B is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.135 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.029 away. White text reads best on it, at 10.11:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.07:1
White text10.11:1

Values

HEX#731F5B
RGBrgb(115, 31, 91)
HSLhsl(317, 58%, 29%)
OKLCHoklch(39.5% 0.135 341.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 #731F5B 10.11:1 AAA Lc -96.8 Preferred for body text
Black text on #731F5B 2.07:1 Fails Lc 11.4 Not readable
#731F5B text on white 10.11:1 AAA Lc 92.6 Preferred for body text
#731F5B text on black 2.07:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F9E3F0

    oklch(93.7% 0.029 341.4)

  3. Step 200

    200

    #F4CBE4

    oklch(88.4% 0.056 341.2)

  4. Step 300

    300

    #EEA7D4

    oklch(81% 0.101 341.2)

  5. Step 400

    400

    #E273BE

    oklch(70.6% 0.163 341.1)

  6. Step 500

    500

    #D747AD

    oklch(63.1% 0.208 341.5)

  7. Step 600

    600

    #C21C98

    oklch(55.6% 0.225 341.6)

  8. Step 700

    700

    #A70582

    oklch(49.1% 0.21 341.5)

  9. Step 800

    800

    #880F6A

    oklch(42.8% 0.174 341.4)

  10. Step 900

    900 (this color)

    #731F5B

    oklch(39.5% 0.135 341.4)

  11. Step 950

    950

    #401132

    oklch(26.9% 0.085 341.5)

Export this scale for Tailwind in the Tailwind colors tool

#731F5B 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)#26395D0.148
Deuteranopia (no green cones)#4047590.130
Tritanopia (no blue cones)#7A203A0.060
Achromatopsia (no color)#4242420.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F5B

    #731F5B

    oklch(39.5% 0.135 341.4)

  • #005437

    #005437

    oklch(39.4% 0.087 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F5B

    #731F5B

    oklch(39.5% 0.135 341.4)

  • #5E2A7A

    #5E2A7A

    oklch(39.5% 0.136 311.7)

  • #7E1933

    #7E1933

    oklch(39.5% 0.135 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #731F5B

    #731F5B

    oklch(39.5% 0.135 341.4)

  • #305100

    #305100

    oklch(39.4% 0.108 131.3)

  • #00524F

    #00524F

    oklch(39.6% 0.068 190.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F5B

    #731F5B

    oklch(39.5% 0.135 341.4)

  • #504700

    #504700

    oklch(39.5% 0.082 101.1)

  • #004F62

    #004F62

    oklch(39.6% 0.073 221.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F5B

    #731F5B

    oklch(39.5% 0.135 341.4)

  • #623D00

    #623D00

    oklch(39.4% 0.085 71.3)

  • #005437

    #005437

    oklch(39.4% 0.087 161.6)

  • #004782

    #004782

    oklch(39.5% 0.117 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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