#A31583

Closest named color: Warm Purple (#952E8F). oklch(49% 0.201 340), rgb(163, 21, 131).

Aa

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

About this color

#A31583 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.201 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.040 away. White text reads best on it, at 7.01:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.201)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.99:1
White text7.01:1

Values

HEX#A31583
RGBrgb(163, 21, 131)
HSLhsl(314, 77%, 36%)
OKLCHoklch(49% 0.201 340)

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 #A31583 7.01:1 AAA Lc -87.6 Fine for body text
Black text on #A31583 2.99:1 Fails Lc 21.5 Dividers and decoration only
#A31583 text on white 7.01:1 AAA Lc 82.6 Fine for body text
#A31583 text on black 2.99:1 Fails Lc -19.3 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

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #EBA8D4

    oklch(80.8% 0.097 340)

  5. Step 400

    400

    #DF76BF

    oklch(70.7% 0.156 340)

  6. Step 500

    500

    #D34DAE

    oklch(63.2% 0.198 340.3)

  7. Step 600

    600

    #BE279A

    oklch(55.7% 0.216 340)

  8. Step 700

    700 (this color)

    #A31583

    oklch(49% 0.201 340)

  9. Step 800

    800

    #85176B

    oklch(42.8% 0.167 340)

  10. Step 900

    900

    #6B1D57

    oklch(37.8% 0.129 339.8)

  11. Step 950

    950

    #3F1333

    oklch(27.1% 0.081 339.8)

Export this scale for Tailwind in the Tailwind colors tool

#A31583 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)#234B860.226
Deuteranopia (no green cones)#5461800.192
Tritanopia (no blue cones)#AD1C4E0.093
Achromatopsia (no color)#5959590.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31583

    #A31583

    oklch(49% 0.201 340)

  • #00734A

    #00734A

    oklch(49% 0.111 160)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31583

    #A31583

    oklch(49% 0.201 340)

  • #832FB3

    #832FB3

    oklch(49.1% 0.201 310)

  • #B30046

    #B30046

    oklch(49% 0.196 10.2)

Open the analogous palette in the generator

Split complementary

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

  • #A31583

    #A31583

    oklch(49% 0.201 340)

  • #466E00

    #466E00

    oklch(48.9% 0.132 130.2)

  • #00706B

    #00706B

    oklch(49.2% 0.085 189.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31583

    #A31583

    oklch(49% 0.201 340)

  • #6E6100

    #6E6100

    oklch(49% 0.102 100.2)

  • #006C83

    #006C83

    oklch(49.1% 0.089 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31583

    #A31583

    oklch(49% 0.201 340)

  • #865400

    #865400

    oklch(49.1% 0.106 70.2)

  • #00734A

    #00734A

    oklch(49% 0.111 160)

  • #0062AB

    #0062AB

    oklch(48.9% 0.139 250.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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