#731F80

Closest named color: Purple (#800080). oklch(41.7% 0.165 321.9), rgb(115, 31, 128).

Aa

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

About this color

#731F80 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.165 and its hue 322°. 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.38:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.165)
Temperaturein between
Nearest namePurple (#800080)
Black text2.23:1
White text9.38:1

Values

HEX#731F80
RGBrgb(115, 31, 128)
HSLhsl(292, 61%, 31%)
OKLCHoklch(41.7% 0.165 321.9)

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 #731F80 9.38:1 AAA Lc -95.1 Preferred for body text
Black text on #731F80 2.23:1 Fails Lc 13.3 Not readable
#731F80 text on white 9.38:1 AAA Lc 90.7 Preferred for body text
#731F80 text on black 2.23:1 Fails Lc -11.6 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACEEF

    oklch(88.5% 0.054 321.1)

  4. Step 300

    300

    #DEACE6

    oklch(80.9% 0.097 321.7)

  5. Step 400

    400

    #CD7DD9

    oklch(70.7% 0.155 322.2)

  6. Step 500

    500

    #BE57CF

    oklch(63.1% 0.198 321.8)

  7. Step 600

    600

    #AA36BC

    oklch(55.7% 0.215 322)

  8. Step 700

    700

    #9126A2

    oklch(49.1% 0.2 321.7)

  9. Step 800

    800 (this color)

    #731F80

    oklch(41.7% 0.165 321.9)

  10. Step 900

    900

    #602369

    oklch(37.8% 0.129 322.3)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#731F80 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)#0040830.168
Deuteranopia (no green cones)#2C497E0.145
Tritanopia (no blue cones)#74314E0.099
Achromatopsia (no color)#4646460.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F80

    #731F80

    oklch(41.7% 0.165 321.9)

  • #075E00

    #075E00

    oklch(41.9% 0.141 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F80

    #731F80

    oklch(41.7% 0.165 321.9)

  • #52309C

    #52309C

    oklch(41.6% 0.165 292.1)

  • #880B56

    #880B56

    oklch(41.7% 0.165 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #731F80

    #731F80

    oklch(41.7% 0.165 321.9)

  • #4E5100

    #4E5100

    oklch(41.8% 0.093 112.2)

  • #005A47

    #005A47

    oklch(41.7% 0.081 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F80

    #731F80

    oklch(41.7% 0.165 321.9)

  • #634700

    #634700

    oklch(41.7% 0.086 82.7)

  • #00575D

    #00575D

    oklch(41.6% 0.071 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F80

    #731F80

    oklch(41.7% 0.165 321.9)

  • #783700

    #783700

    oklch(41.6% 0.108 51.6)

  • #075E00

    #075E00

    oklch(41.9% 0.141 141.9)

  • #005472

    #005472

    oklch(41.8% 0.084 231.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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