#A31A79

Closest named color: Red Violet (#9E0168). oklch(48.8% 0.191 344.4), rgb(163, 26, 121).

Aa

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

About this color

#A31A79 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.191 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.032 away. White text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.191)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.98:1
White text7.04:1

Values

HEX#A31A79
RGBrgb(163, 26, 121)
HSLhsl(318, 72%, 37%)
OKLCHoklch(48.8% 0.191 344.4)

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 #A31A79 7.04:1 AAA Lc -87.9 Fine for body text
Black text on #A31A79 2.98:1 Fails Lc 21.2 Dividers and decoration only
#A31A79 text on white 7.04:1 AAA Lc 82.8 Fine for body text
#A31A79 text on black 2.98:1 Fails Lc -19.1 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F3CCE1

    oklch(88.5% 0.052 344.6)

  4. Step 300

    300

    #ECA9CF

    oklch(80.9% 0.092 344.3)

  5. Step 400

    400

    #DF78B6

    oklch(70.7% 0.147 344.5)

  6. Step 500

    500

    #D44FA4

    oklch(63.1% 0.19 344.6)

  7. Step 600

    600

    #BF2B8F

    oklch(55.6% 0.206 344.6)

  8. Step 700

    700 (this color)

    #A31A79

    oklch(48.8% 0.191 344.4)

  9. Step 800

    800

    #851B63

    oklch(42.7% 0.158 344.4)

  10. Step 900

    900

    #6B1E51

    oklch(37.6% 0.124 344)

  11. Step 950

    950

    #3F132F

    oklch(26.9% 0.078 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#A31A79 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)#2E4A7B0.215
Deuteranopia (no green cones)#5961760.185
Tritanopia (no blue cones)#AE18490.082
Achromatopsia (no color)#5959590.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31A79

    #A31A79

    oklch(48.8% 0.191 344.4)

  • #007250

    #007250

    oklch(48.9% 0.104 164.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31A79

    #A31A79

    oklch(48.8% 0.191 344.4)

  • #862FA9

    #862FA9

    oklch(48.8% 0.192 314.3)

  • #B2093D

    #B2093D

    oklch(48.9% 0.191 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #A31A79

    #A31A79

    oklch(48.8% 0.191 344.4)

  • #3A7000

    #3A7000

    oklch(48.8% 0.141 134.5)

  • #006E6E

    #006E6E

    oklch(48.7% 0.083 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31A79

    #A31A79

    oklch(48.8% 0.191 344.4)

  • #6A6200

    #6A6200

    oklch(48.8% 0.103 104)

  • #006A87

    #006A87

    oklch(48.8% 0.092 225.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31A79

    #A31A79

    oklch(48.8% 0.191 344.4)

  • #825600

    #825600

    oklch(48.9% 0.103 74.7)

  • #007250

    #007250

    oklch(48.9% 0.104 164.1)

  • #005EB6

    #005EB6

    oklch(48.8% 0.158 254.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A31A79.

Similar named colors

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

Use #A31A79 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.