#771F5B

Closest named color: Velvet (#750851). oklch(40.2% 0.138 343.3), rgb(119, 31, 91).

Aa

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

About this color

#771F5B is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.138 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.030 away. White text reads best on it, at 9.85:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.13:1
White text9.85:1

Values

HEX#771F5B
RGBrgb(119, 31, 91)
HSLhsl(319, 59%, 29%)
OKLCHoklch(40.2% 0.138 343.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 #771F5B 9.85:1 AAA Lc -96.2 Preferred for body text
Black text on #771F5B 2.13:1 Fails Lc 12.1 Not readable
#771F5B text on white 9.85:1 AAA Lc 91.9 Preferred for body text
#771F5B text on black 2.13:1 Fails Lc -10.5 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #F0CEE1

    oklch(88.6% 0.045 343.4)

  4. Step 300

    300

    #E7ACCE

    oklch(80.9% 0.082 343.6)

  5. Step 400

    400

    #D87EB5

    oklch(70.7% 0.13 343.5)

  6. Step 500

    500

    #CB5AA3

    oklch(63.1% 0.166 343.3)

  7. Step 600

    600

    #B63C8E

    oklch(55.7% 0.18 343.3)

  8. Step 700

    700

    #9C2D79

    oklch(49.1% 0.167 343.1)

  9. Step 800

    800 (this color)

    #771F5B

    oklch(40.2% 0.138 343.3)

  10. Step 900

    900

    #662550

    oklch(37.6% 0.108 343)

  11. Step 950

    950

    #3C172F

    oklch(27% 0.068 342.9)

Export this scale for Tailwind in the Tailwind colors tool

#771F5B 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)#283A5D0.152
Deuteranopia (no green cones)#4349590.133
Tritanopia (no blue cones)#7F1F3A0.060
Achromatopsia (no color)#4343430.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #771F5B

    #771F5B

    oklch(40.2% 0.138 343.3)

  • #00563B

    #00563B

    oklch(40.1% 0.086 163.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #771F5B

    #771F5B

    oklch(40.2% 0.138 343.3)

  • #622A7C

    #622A7C

    oklch(40.2% 0.139 313.4)

  • #821A32

    #821A32

    oklch(40.3% 0.138 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #771F5B

    #771F5B

    oklch(40.2% 0.138 343.3)

  • #2D5400

    #2D5400

    oklch(40.1% 0.114 133.3)

  • #005453

    #005453

    oklch(40.3% 0.069 193.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #771F5B

    #771F5B

    oklch(40.2% 0.138 343.3)

  • #514A00

    #514A00

    oklch(40.3% 0.085 103.3)

  • #005166

    #005166

    oklch(40.4% 0.075 222.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #771F5B

    #771F5B

    oklch(40.2% 0.138 343.3)

  • #644000

    #644000

    oklch(40.3% 0.086 73.3)

  • #00563B

    #00563B

    oklch(40.1% 0.086 163.7)

  • #004889

    #004889

    oklch(40.3% 0.125 253.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #771F5B 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.