#731C7B

Closest named color: Purple (#800080). oklch(41.1% 0.164 324.3), rgb(115, 28, 123).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.164)
Temperaturein between
Nearest namePurple (#800080)
Black text2.18:1
White text9.62:1

Values

HEX#731C7B
RGBrgb(115, 28, 123)
HSLhsl(295, 63%, 30%)
OKLCHoklch(41.1% 0.164 324.3)

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 #731C7B 9.62:1 AAA Lc -95.6 Preferred for body text
Black text on #731C7B 2.18:1 Fails Lc 12.8 Not readable
#731C7B text on white 9.62:1 AAA Lc 91.2 Preferred for body text
#731C7B text on black 2.18:1 Fails Lc -11.1 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

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCEED

    oklch(88.6% 0.053 325)

  4. Step 300

    300

    #E0ACE4

    oklch(81% 0.096 324.1)

  5. Step 400

    400

    #CF7CD6

    oklch(70.7% 0.155 324.2)

  6. Step 500

    500

    #C156CB

    oklch(63.1% 0.197 324.2)

  7. Step 600

    600

    #AC35B7

    oklch(55.6% 0.213 324.3)

  8. Step 700

    700

    #94259E

    oklch(49.2% 0.199 324.3)

  9. Step 800

    800 (this color)

    #731C7B

    oklch(41.1% 0.164 324.3)

  10. Step 900

    900

    #612367

    oklch(37.8% 0.128 324.1)

  11. Step 950

    950

    #39163C

    oklch(27.1% 0.08 324.4)

Export this scale for Tailwind in the Tailwind colors tool

#731C7B 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)#003E7E0.171
Deuteranopia (no green cones)#2E48790.146
Tritanopia (no blue cones)#752D4A0.096
Achromatopsia (no color)#4545450.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #731C7B

    #731C7B

    oklch(41.1% 0.164 324.3)

  • #005C10

    #005C10

    oklch(41.2% 0.132 144.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #731C7B

    #731C7B

    oklch(41.1% 0.164 324.3)

  • #532D99

    #532D99

    oklch(41% 0.166 294)

  • #870750

    #870750

    oklch(41.1% 0.164 354.3)

Open the analogous palette in the generator

Split complementary

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

  • #731C7B

    #731C7B

    oklch(41.1% 0.164 324.3)

  • #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.

  • #731C7B

    #731C7B

    oklch(41.1% 0.164 324.3)

  • #604600

    #604600

    oklch(41.1% 0.084 84.3)

  • #00555C

    #00555C

    oklch(41% 0.07 204.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #731C7B

    #731C7B

    oklch(41.1% 0.164 324.3)

  • #743800

    #743800

    oklch(41.2% 0.103 54.2)

  • #005C10

    #005C10

    oklch(41.2% 0.132 144.3)

  • #005172

    #005172

    oklch(41% 0.086 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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