#831B51

Closest named color: Red Purple (#820747). oklch(41.5% 0.147 354.1), rgb(131, 27, 81).

Aa

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

About this color

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

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

Values

HEX#831B51
RGBrgb(131, 27, 81)
HSLhsl(329, 66%, 31%)
OKLCHoklch(41.5% 0.147 354.1)

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 #831B51 9.37:1 AAA Lc -94.9 Preferred for body text
Black text on #831B51 2.24:1 Fails Lc 13.5 Not readable
#831B51 text on white 9.37:1 AAA Lc 90.4 Preferred for body text
#831B51 text on black 2.24:1 Fails Lc -11.9 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

    #F4CDDB

    oklch(88.5% 0.047 354.5)

  4. Step 300

    300

    #EDAAC4

    oklch(80.9% 0.085 354.1)

  5. Step 400

    400

    #E17AA6

    oklch(70.7% 0.136 354.1)

  6. Step 500

    500

    #D65390

    oklch(63.1% 0.175 354.4)

  7. Step 600

    600

    #C1317B

    oklch(55.6% 0.191 353.9)

  8. Step 700

    700

    #A62267

    oklch(49.1% 0.177 354.3)

  9. Step 800

    800 (this color)

    #831B51

    oklch(41.5% 0.147 354.1)

  10. Step 900

    900

    #6D2146

    oklch(37.8% 0.114 353.9)

  11. Step 950

    950

    #401529

    oklch(27.1% 0.072 353.9)

Export this scale for Tailwind in the Tailwind colors tool

#831B51 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)#303A520.165
Deuteranopia (no green cones)#4D4D4F0.145
Tritanopia (no blue cones)#8E0E330.052
Achromatopsia (no color)#4646460.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B51

    #831B51

    oklch(41.5% 0.147 354.1)

  • #005949

    #005949

    oklch(41.4% 0.078 175)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B51

    #831B51

    oklch(41.5% 0.147 354.1)

  • #702777

    #702777

    oklch(41.5% 0.145 324.1)

  • #8A1A20

    #8A1A20

    oklch(41.5% 0.147 24.1)

Open the analogous palette in the generator

Split complementary

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

  • #831B51

    #831B51

    oklch(41.5% 0.147 354.1)

  • #005D0F

    #005D0F

    oklch(41.5% 0.134 144.1)

  • #00575D

    #00575D

    oklch(41.6% 0.071 202.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B51

    #831B51

    oklch(41.5% 0.147 354.1)

  • #4B5100

    #4B5100

    oklch(41.5% 0.094 114.6)

  • #005374

    #005374

    oklch(41.7% 0.087 233.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B51

    #831B51

    oklch(41.5% 0.147 354.1)

  • #614700

    #614700

    oklch(41.5% 0.085 84.6)

  • #005949

    #005949

    oklch(41.4% 0.078 175)

  • #21449A

    #21449A

    oklch(41.5% 0.147 264.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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