#731F7A

Closest named color: Purple (#800080). oklch(41.3% 0.16 324.6), rgb(115, 31, 122).

Aa

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

About this color

#731F7A is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.160 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.036 away. White text reads best on it, at 9.51:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.160)
Temperaturein between
Nearest namePurple (#800080)
Black text2.20:1
White text9.51:1

Values

HEX#731F7A
RGBrgb(115, 31, 122)
HSLhsl(295, 59%, 30%)
OKLCHoklch(41.3% 0.16 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 #731F7A 9.51:1 AAA Lc -95.4 Preferred for body text
Black text on #731F7A 2.20:1 Fails Lc 12.9 Not readable
#731F7A text on white 9.51:1 AAA Lc 91.0 Preferred for body text
#731F7A text on black 2.20:1 Fails Lc -11.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

    #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

    #CE7DD4

    oklch(70.6% 0.15 324.5)

  6. Step 500

    500

    #C058C8

    oklch(63.1% 0.191 324.7)

  7. Step 600

    600

    #AB37B5

    oklch(55.5% 0.209 324.5)

  8. Step 700

    700

    #93289C

    oklch(49.1% 0.194 324.6)

  9. Step 800

    800 (this color)

    #731F7A

    oklch(41.3% 0.16 324.6)

  10. Step 900

    900

    #602465

    oklch(37.6% 0.124 324.6)

  11. Step 950

    950

    #39163B

    oklch(27% 0.079 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#731F7A 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)#023F7D0.169
Deuteranopia (no green cones)#3149780.142
Tritanopia (no blue cones)#752F4B0.093
Achromatopsia (no color)#4545450.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #731F7A

    #731F7A

    oklch(41.3% 0.16 324.6)

  • #005C12

    #005C12

    oklch(41.2% 0.131 144.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731F7A

    #731F7A

    oklch(41.3% 0.16 324.6)

  • #542F97

    #542F97

    oklch(41.3% 0.161 294.6)

  • #870E50

    #870E50

    oklch(41.4% 0.16 354.8)

Open the analogous palette in the generator

Split complementary

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

  • #731F7A

    #731F7A

    oklch(41.3% 0.16 324.6)

  • #4A5000

    #4A5000

    oklch(41.2% 0.093 114.6)

  • #005948

    #005948

    oklch(41.4% 0.079 173.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #731F7A

    #731F7A

    oklch(41.3% 0.16 324.6)

  • #604700

    #604700

    oklch(41.4% 0.085 85.5)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731F7A

    #731F7A

    oklch(41.3% 0.16 324.6)

  • #743900

    #743900

    oklch(41.3% 0.102 55.1)

  • #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 #731F7A, closest first.

Similar named colors

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

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