#791A71

Closest named color: Purple (#800080). oklch(41.3% 0.161 331.9), rgb(121, 26, 113).

Aa

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

About this color

#791A71 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.161 and its hue 332°. 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.54:1.

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

Values

HEX#791A71
RGBrgb(121, 26, 113)
HSLhsl(305, 65%, 29%)
OKLCHoklch(41.3% 0.161 331.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 #791A71 9.54:1 AAA Lc -95.3 Preferred for body text
Black text on #791A71 2.19:1 Fails Lc 13.0 Not readable
#791A71 text on white 9.54:1 AAA Lc 90.9 Preferred for body text
#791A71 text on black 2.19:1 Fails Lc -11.4 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E5AADC

    oklch(80.8% 0.095 331.8)

  5. Step 400

    400

    #D67ACA

    oklch(70.6% 0.151 332)

  6. Step 500

    500

    #C953BC

    oklch(63.1% 0.193 332.1)

  7. Step 600

    600

    #B431A8

    oklch(55.6% 0.21 332)

  8. Step 700

    700

    #9A2290

    oklch(49% 0.194 331.9)

  9. Step 800

    800 (this color)

    #791A71

    oklch(41.3% 0.161 331.9)

  10. Step 900

    900

    #65215F

    oklch(37.7% 0.126 331.4)

  11. Step 950

    950

    #3C1537

    oklch(27.1% 0.079 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#791A71 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)#123D730.176
Deuteranopia (no green cones)#394A6F0.149
Tritanopia (no blue cones)#7E26440.086
Achromatopsia (no color)#4545450.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #791A71

    #791A71

    oklch(41.3% 0.161 331.9)

  • #005B2B

    #005B2B

    oklch(41.3% 0.109 151.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #791A71

    #791A71

    oklch(41.3% 0.161 331.9)

  • #5D2B92

    #5D2B92

    oklch(41.3% 0.161 301.9)

  • #8A0844

    #8A0844

    oklch(41.3% 0.161 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #791A71

    #791A71

    oklch(41.3% 0.161 331.9)

  • #425300

    #425300

    oklch(41.3% 0.1 122.2)

  • #00584E

    #00584E

    oklch(41.3% 0.074 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #791A71

    #791A71

    oklch(41.3% 0.161 331.9)

  • #5C4900

    #5C4900

    oklch(41.3% 0.085 91.7)

  • #005562

    #005562

    oklch(41.3% 0.072 212.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #791A71

    #791A71

    oklch(41.3% 0.161 331.9)

  • #6F3D00

    #6F3D00

    oklch(41.3% 0.095 61.8)

  • #005B2B

    #005B2B

    oklch(41.3% 0.109 151.9)

  • #00507B

    #00507B

    oklch(41.3% 0.098 241.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #791A71 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.