#831B41

Closest named color: Red Purple (#820747). oklch(41% 0.141 4.3), rgb(131, 27, 65).

Aa

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

About this color

#831B41 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.141 and its hue 4°. 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.55:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.19:1
White text9.55:1

Values

HEX#831B41
RGBrgb(131, 27, 65)
HSLhsl(338, 66%, 31%)
OKLCHoklch(41% 0.141 4.3)

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 #831B41 9.55:1 AAA Lc -95.3 Preferred for body text
Black text on #831B41 2.19:1 Fails Lc 13.1 Not readable
#831B41 text on white 9.55:1 AAA Lc 90.9 Preferred for body text
#831B41 text on black 2.19:1 Fails Lc -11.5 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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #EFABBA

    oklch(80.9% 0.082 4.5)

  5. Step 400

    400

    #E47B97

    oklch(70.7% 0.133 4)

  6. Step 500

    500

    #D8557D

    oklch(63.1% 0.168 4.3)

  7. Step 600

    600

    #C33466

    oklch(55.5% 0.182 4.3)

  8. Step 700

    700

    #A82455

    oklch(49% 0.17 4.1)

  9. Step 800

    800 (this color)

    #831B41

    oklch(41% 0.141 4.3)

  10. Step 900

    900

    #6E223A

    oklch(37.7% 0.109 4.6)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#831B41 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)#3538420.158
Deuteranopia (no green cones)#504D3F0.144
Tritanopia (no blue cones)#8F012C0.038
Achromatopsia (no color)#4545450.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B41

    #831B41

    oklch(41% 0.141 4.3)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B41

    #831B41

    oklch(41% 0.141 4.3)

  • #752369

    #752369

    oklch(41% 0.142 334.2)

  • #862006

    #862006

    oklch(41% 0.141 34.2)

Open the analogous palette in the generator

Split complementary

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

  • #831B41

    #831B41

    oklch(41% 0.141 4.3)

  • #005A2F

    #005A2F

    oklch(41% 0.103 154)

  • #005462

    #005462

    oklch(41% 0.072 213.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B41

    #831B41

    oklch(41% 0.141 4.3)

  • #3F5300

    #3F5300

    oklch(41% 0.102 124.1)

  • #004E7D

    #004E7D

    oklch(40.9% 0.102 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B41

    #831B41

    oklch(41% 0.141 4.3)

  • #594900

    #594900

    oklch(41% 0.084 94.6)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

  • #363E95

    #363E95

    oklch(41% 0.141 274.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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