#731E7A

Closest named color: Purple (#800080). oklch(41.2% 0.161 324.6), rgb(115, 30, 122).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.161)
Temperaturein between
Nearest namePurple (#800080)
Black text2.19:1
White text9.56:1

Values

HEX#731E7A
RGBrgb(115, 30, 122)
HSLhsl(295, 61%, 30%)
OKLCHoklch(41.2% 0.161 324.6)

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 #731E7A 9.56:1 AAA Lc -95.5 Preferred for body text
Black text on #731E7A 2.19:1 Fails Lc 12.8 Not readable
#731E7A text on white 9.56:1 AAA Lc 91.1 Preferred for body text
#731E7A text on black 2.19:1 Fails Lc -11.2 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EBCEED

    oklch(88.5% 0.052 324)

  4. Step 300

    300

    #E0ACE3

    oklch(80.9% 0.095 324.6)

  5. Step 400

    400

    #CF7DD4

    oklch(70.7% 0.151 325)

  6. Step 500

    500

    #C057C9

    oklch(63% 0.193 324.4)

  7. Step 600

    600

    #AC37B5

    oklch(55.7% 0.209 324.9)

  8. Step 700

    700

    #93279C

    oklch(49.1% 0.195 324.6)

  9. Step 800

    800 (this color)

    #731E7A

    oklch(41.2% 0.161 324.6)

  10. Step 900

    900

    #612366

    oklch(37.7% 0.127 324.7)

  11. Step 950

    950

    #39163C

    oklch(27.1% 0.08 324.4)

Export this scale for Tailwind in the Tailwind colors tool

#731E7A 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)#003F7D0.170
Deuteranopia (no green cones)#3049780.144
Tritanopia (no blue cones)#752E4A0.094
Achromatopsia (no color)#4545450.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #731E7A

    #731E7A

    oklch(41.2% 0.161 324.6)

  • #005C12

    #005C12

    oklch(41.2% 0.131 144.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731E7A

    #731E7A

    oklch(41.2% 0.161 324.6)

  • #542F97

    #542F97

    oklch(41.3% 0.161 294.6)

  • #870C50

    #870C50

    oklch(41.3% 0.161 354.6)

Open the analogous palette in the generator

Split complementary

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

  • #731E7A

    #731E7A

    oklch(41.2% 0.161 324.6)

  • #4A5000

    #4A5000

    oklch(41.2% 0.093 114.6)

  • #005848

    #005848

    oklch(41.1% 0.078 174.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731E7A

    #731E7A

    oklch(41.2% 0.161 324.6)

  • #604600

    #604600

    oklch(41.1% 0.084 84.3)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731E7A

    #731E7A

    oklch(41.2% 0.161 324.6)

  • #743800

    #743800

    oklch(41.2% 0.103 54.2)

  • #005C12

    #005C12

    oklch(41.2% 0.131 144.6)

  • #005273

    #005273

    oklch(41.3% 0.087 234.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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