#77227A

Closest named color: Purple (#800080). oklch(42.2% 0.159 326.5), rgb(119, 34, 122).

Aa

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

About this color

#77227A is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.159 and its hue 326°. 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.15:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.159)
Temperaturein between
Nearest namePurple (#800080)
Black text2.29:1
White text9.15:1

Values

HEX#77227A
RGBrgb(119, 34, 122)
HSLhsl(298, 56%, 31%)
OKLCHoklch(42.2% 0.159 326.5)

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 #77227A 9.15:1 AAA Lc -94.6 Preferred for body text
Black text on #77227A 2.29:1 Fails Lc 13.8 Not readable
#77227A text on white 9.15:1 AAA Lc 90.1 Preferred for body text
#77227A text on black 2.29:1 Fails Lc -12.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

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E1ACE1

    oklch(81% 0.093 326.4)

  5. Step 400

    400

    #D07DD1

    oklch(70.7% 0.149 326.6)

  6. Step 500

    500

    #C258C5

    oklch(63.2% 0.189 326.5)

  7. Step 600

    600

    #AD37B1

    oklch(55.6% 0.206 326.5)

  8. Step 700

    700

    #942898

    oklch(49.1% 0.191 326.5)

  9. Step 800

    800 (this color)

    #77227A

    oklch(42.2% 0.159 326.5)

  10. Step 900

    900

    #612463

    oklch(37.7% 0.122 326.4)

  11. Step 950

    950

    #39163A

    oklch(26.9% 0.078 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#77227A 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)#10417C0.167
Deuteranopia (no green cones)#364C780.142
Tritanopia (no blue cones)#7A304B0.091
Achromatopsia (no color)#4848480.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #77227A

    #77227A

    oklch(42.2% 0.159 326.5)

  • #005F1C

    #005F1C

    oklch(42.3% 0.128 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #77227A

    #77227A

    oklch(42.2% 0.159 326.5)

  • #593298

    #593298

    oklch(42.3% 0.158 296.6)

  • #8A1350

    #8A1350

    oklch(42.2% 0.159 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #77227A

    #77227A

    oklch(42.2% 0.159 326.5)

  • #4B5400

    #4B5400

    oklch(42.3% 0.097 116.7)

  • #005B4C

    #005B4C

    oklch(42.1% 0.078 176.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #77227A

    #77227A

    oklch(42.2% 0.159 326.5)

  • #624A00

    #624A00

    oklch(42.3% 0.086 87.2)

  • #005861

    #005861

    oklch(42.1% 0.072 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #77227A

    #77227A

    oklch(42.2% 0.159 326.5)

  • #763C00

    #763C00

    oklch(42.2% 0.102 56.8)

  • #005F1C

    #005F1C

    oklch(42.3% 0.128 146.4)

  • #005479

    #005479

    oklch(42.2% 0.092 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #77227A 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.