#831C54

Closest named color: Red Purple (#820747). oklch(41.7% 0.147 352.4), rgb(131, 28, 84).

Aa

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

About this color

#831C54 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.147 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.026 away. White text reads best on it, at 9.29:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.25:1
White text9.29:1

Values

HEX#831C54
RGBrgb(131, 28, 84)
HSLhsl(327, 65%, 31%)
OKLCHoklch(41.7% 0.147 352.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 #831C54 9.29:1 AAA Lc -94.7 Preferred for body text
Black text on #831C54 2.25:1 Fails Lc 13.7 Not readable
#831C54 text on white 9.29:1 AAA Lc 90.3 Preferred for body text
#831C54 text on black 2.25:1 Fails Lc -12.0 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F4CDDC

    oklch(88.6% 0.048 353)

  4. Step 300

    300

    #EDAAC6

    oklch(80.9% 0.086 352.4)

  5. Step 400

    400

    #E17AA9

    oklch(70.8% 0.138 352.4)

  6. Step 500

    500

    #D55394

    oklch(63.1% 0.176 352.3)

  7. Step 600

    600

    #C0327E

    oklch(55.6% 0.19 352.5)

  8. Step 700

    700

    #A5226A

    oklch(49% 0.177 352.5)

  9. Step 800

    800 (this color)

    #831C54

    oklch(41.7% 0.147 352.4)

  10. Step 900

    900

    #6C2147

    oklch(37.7% 0.114 352.7)

  11. Step 950

    950

    #40152A

    oklch(27.1% 0.072 352.6)

Export this scale for Tailwind in the Tailwind colors tool

#831C54 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)#2F3B550.165
Deuteranopia (no green cones)#4C4E520.147
Tritanopia (no blue cones)#8D12350.053
Achromatopsia (no color)#4747470.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #831C54

    #831C54

    oklch(41.7% 0.147 352.4)

  • #005A48

    #005A48

    oklch(41.7% 0.08 173)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831C54

    #831C54

    oklch(41.7% 0.147 352.4)

  • #70287A

    #70287A

    oklch(41.8% 0.147 322.6)

  • #8B1A24

    #8B1A24

    oklch(41.7% 0.147 22.3)

Open the analogous palette in the generator

Split complementary

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

  • #831C54

    #831C54

    oklch(41.7% 0.147 352.4)

  • #015E00

    #015E00

    oklch(41.8% 0.142 142.4)

  • #00575D

    #00575D

    oklch(41.6% 0.071 202.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831C54

    #831C54

    oklch(41.7% 0.147 352.4)

  • #4E5100

    #4E5100

    oklch(41.8% 0.093 112.2)

  • #005373

    #005373

    oklch(41.6% 0.086 233.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831C54

    #831C54

    oklch(41.7% 0.147 352.4)

  • #634700

    #634700

    oklch(41.7% 0.086 82.7)

  • #005A48

    #005A48

    oklch(41.7% 0.08 173)

  • #1C469B

    #1C469B

    oklch(41.8% 0.147 262.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #831C54 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.