#731D8D

Closest named color: Purple (#800080). oklch(42.4% 0.179 316.8), rgb(115, 29, 141).

Aa

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

About this color

#731D8D is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.179 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.040 away. White text reads best on it, at 9.17:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.179)
Temperaturein between
Nearest namePurple (#800080)
Black text2.28:1
White text9.17:1

Values

HEX#731D8D
RGBrgb(115, 29, 141)
HSLhsl(286, 66%, 33%)
OKLCHoklch(42.4% 0.179 316.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 #731D8D 9.17:1 AAA Lc -94.5 Preferred for body text
Black text on #731D8D 2.28:1 Fails Lc 14.0 Not readable
#731D8D text on white 9.17:1 AAA Lc 90.0 Fine for body text
#731D8D text on black 2.28:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E9CEF3

    oklch(88.5% 0.058 316.9)

  4. Step 300

    300

    #DCACEE

    oklch(81% 0.104 316.6)

  5. Step 400

    400

    #CA7CE5

    oklch(70.8% 0.167 316.9)

  6. Step 500

    500

    #BB54DD

    oklch(63.1% 0.214 316.8)

  7. Step 600

    600

    #A630CB

    oklch(55.6% 0.233 316.5)

  8. Step 700

    700

    #8F1FAF

    oklch(49.2% 0.217 317)

  9. Step 800

    800 (this color)

    #731D8D

    oklch(42.4% 0.179 316.8)

  10. Step 900

    900

    #5E2171

    oklch(37.8% 0.139 317.1)

  11. Step 950

    950

    #371542

    oklch(27% 0.088 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#731D8D 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)#0043900.165
Deuteranopia (no green cones)#1E4A8B0.155
Tritanopia (no blue cones)#7136550.113
Achromatopsia (no color)#4848480.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #731D8D

    #731D8D

    oklch(42.4% 0.179 316.8)

  • #275D00

    #275D00

    oklch(42.4% 0.128 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731D8D

    #731D8D

    oklch(42.4% 0.179 316.8)

  • #4D31A9

    #4D31A9

    oklch(42.4% 0.18 286.6)

  • #8C0061

    #8C0061

    oklch(42.5% 0.179 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #731D8D

    #731D8D

    oklch(42.4% 0.179 316.8)

  • #555100

    #555100

    oklch(42.5% 0.091 106.4)

  • #005D44

    #005D44

    oklch(42.4% 0.087 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731D8D

    #731D8D

    oklch(42.4% 0.179 316.8)

  • #694700

    #694700

    oklch(42.5% 0.089 77.5)

  • #005A5C

    #005A5C

    oklch(42.4% 0.072 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731D8D

    #731D8D

    oklch(42.4% 0.179 316.8)

  • #803400

    #803400

    oklch(42.4% 0.118 46.5)

  • #275D00

    #275D00

    oklch(42.4% 0.128 136.9)

  • #005771

    #005771

    oklch(42.6% 0.082 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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