#A51181

Closest named color: Red Violet (#9E0168). oklch(49.1% 0.203 341.4), rgb(165, 17, 129).

Aa

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

About this color

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

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

Values

HEX#A51181
RGBrgb(165, 17, 129)
HSLhsl(315, 81%, 36%)
OKLCHoklch(49.1% 0.203 341.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 #A51181 7.00:1 AAA Lc -87.5 Fine for body text
Black text on #A51181 2.99:1 Fails Lc 21.6 Dividers and decoration only
#A51181 text on white 7.00:1 AAA Lc 82.4 Fine for body text
#A51181 text on black 2.99:1 Fails Lc -19.5 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #EDA8D3

    oklch(81% 0.098 341.6)

  5. Step 400

    400

    #E075BD

    oklch(70.6% 0.157 341.1)

  6. Step 500

    500

    #D54BAC

    oklch(63.2% 0.201 341.5)

  7. Step 600

    600

    #C02397

    oklch(55.6% 0.218 341.6)

  8. Step 700

    700 (this color)

    #A51181

    oklch(49.1% 0.203 341.4)

  9. Step 800

    800

    #861569

    oklch(42.7% 0.168 341.3)

  10. Step 900

    900

    #6C1B55

    oklch(37.6% 0.131 341.5)

  11. Step 950

    950

    #401232

    oklch(27.1% 0.083 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#A51181 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)#254A840.229
Deuteranopia (no green cones)#56617E0.194
Tritanopia (no blue cones)#B0164C0.092
Achromatopsia (no color)#5959590.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #A51181

    #A51181

    oklch(49.1% 0.203 341.4)

  • #00734D

    #00734D

    oklch(49.1% 0.108 161.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A51181

    #A51181

    oklch(49.1% 0.203 341.4)

  • #852DB2

    #852DB2

    oklch(49.1% 0.202 311.3)

  • #B40043

    #B40043

    oklch(49.1% 0.196 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #A51181

    #A51181

    oklch(49.1% 0.203 341.4)

  • #436F00

    #436F00

    oklch(49% 0.135 131.5)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A51181

    #A51181

    oklch(49.1% 0.203 341.4)

  • #6D6200

    #6D6200

    oklch(49.1% 0.103 101.8)

  • #006C85

    #006C85

    oklch(49.2% 0.09 221.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A51181

    #A51181

    oklch(49.1% 0.203 341.4)

  • #855500

    #855500

    oklch(49.1% 0.105 71.8)

  • #00734D

    #00734D

    oklch(49.1% 0.108 161.8)

  • #0062AF

    #0062AF

    oklch(49.2% 0.144 251.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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