#731F5F

Closest named color: Velvet (#750851). oklch(39.7% 0.138 339), rgb(115, 31, 95).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.09:1
White text10.04:1

Values

HEX#731F5F
RGBrgb(115, 31, 95)
HSLhsl(314, 58%, 29%)
OKLCHoklch(39.7% 0.138 339)

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 #731F5F 10.04:1 AAA Lc -96.6 Preferred for body text
Black text on #731F5F 2.09:1 Fails Lc 11.6 Not readable
#731F5F text on white 10.04:1 AAA Lc 92.4 Preferred for body text
#731F5F text on black 2.09:1 Fails Lc -10.0 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

    #F8E3F1

    oklch(93.7% 0.029 337.9)

  3. Step 200

    200

    #F4CBE6

    oklch(88.5% 0.058 338.9)

  4. Step 300

    300

    #EDA6D7

    oklch(80.8% 0.104 338.6)

  5. Step 400

    400

    #E173C2

    oklch(70.6% 0.165 339)

  6. Step 500

    500

    #D646B3

    oklch(63.1% 0.213 339)

  7. Step 600

    600

    #C1199E

    oklch(55.6% 0.23 339.2)

  8. Step 700

    700

    #A60088

    oklch(49.1% 0.215 338.8)

  9. Step 800

    800

    #870D6E

    oklch(42.7% 0.178 339.1)

  10. Step 900

    900 (this color)

    #731F5F

    oklch(39.7% 0.138 339)

  11. Step 950

    950

    #401134

    oklch(27% 0.087 339.3)

Export this scale for Tailwind in the Tailwind colors tool

#731F5F 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)#233A610.151
Deuteranopia (no green cones)#3E475D0.131
Tritanopia (no blue cones)#7A223C0.065
Achromatopsia (no color)#4242420.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F5F

    #731F5F

    oklch(39.7% 0.138 339)

  • #005534

    #005534

    oklch(39.6% 0.091 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F5F

    #731F5F

    oklch(39.7% 0.138 339)

  • #5D2B7E

    #5D2B7E

    oklch(39.8% 0.138 309.2)

  • #7F1837

    #7F1837

    oklch(39.7% 0.138 9)

Open the analogous palette in the generator

Split complementary

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

  • #731F5F

    #731F5F

    oklch(39.7% 0.138 339)

  • #355100

    #355100

    oklch(39.7% 0.105 128.8)

  • #00534E

    #00534E

    oklch(39.8% 0.069 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F5F

    #731F5F

    oklch(39.7% 0.138 339)

  • #524700

    #524700

    oklch(39.7% 0.082 99.1)

  • #005061

    #005061

    oklch(39.8% 0.072 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F5F

    #731F5F

    oklch(39.7% 0.138 339)

  • #653D00

    #653D00

    oklch(39.9% 0.087 68.8)

  • #005534

    #005534

    oklch(39.6% 0.091 158.9)

  • #00497E

    #00497E

    oklch(39.7% 0.109 248.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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