#831B42

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

Aa

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

About this color

#831B42 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.025 away. White text reads best on it, at 9.54:1.

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

Values

HEX#831B42
RGBrgb(131, 27, 66)
HSLhsl(338, 66%, 31%)
OKLCHoklch(41% 0.141 3.6)

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 #831B42 9.54:1 AAA Lc -95.2 Preferred for body text
Black text on #831B42 2.20:1 Fails Lc 13.1 Not readable
#831B42 text on white 9.54:1 AAA Lc 90.8 Preferred for body text
#831B42 text on black 2.20: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

    #F5CDD6

    oklch(88.5% 0.046 2.9)

  4. Step 300

    300

    #EFABBB

    oklch(81% 0.082 3.6)

  5. Step 400

    400

    #E37B98

    oklch(70.6% 0.132 3.2)

  6. Step 500

    500

    #D8557E

    oklch(63.1% 0.168 3.8)

  7. Step 600

    600

    #C33468

    oklch(55.6% 0.183 3.4)

  8. Step 700

    700

    #A82456

    oklch(49% 0.17 3.6)

  9. Step 800

    800 (this color)

    #831B42

    oklch(41% 0.141 3.6)

  10. Step 900

    900

    #6E223B

    oklch(37.7% 0.11 3.8)

  11. Step 950

    950

    #411523

    oklch(27% 0.07 3.2)

Export this scale for Tailwind in the Tailwind colors tool

#831B42 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)#3438430.159
Deuteranopia (no green cones)#504D400.144
Tritanopia (no blue cones)#8F012C0.040
Achromatopsia (no color)#4545450.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B42

    #831B42

    oklch(41% 0.141 3.6)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B42

    #831B42

    oklch(41% 0.141 3.6)

  • #742469

    #742469

    oklch(41% 0.14 333.8)

  • #862008

    #862008

    oklch(41% 0.141 33.7)

Open the analogous palette in the generator

Split complementary

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

  • #831B42

    #831B42

    oklch(41% 0.141 3.6)

  • #005A2E

    #005A2E

    oklch(41% 0.104 153.5)

  • #005462

    #005462

    oklch(41% 0.072 213.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B42

    #831B42

    oklch(41% 0.141 3.6)

  • #405300

    #405300

    oklch(41.1% 0.101 123.5)

  • #004F7C

    #004F7C

    oklch(41.1% 0.1 243.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B42

    #831B42

    oklch(41% 0.141 3.6)

  • #5A4900

    #5A4900

    oklch(41.1% 0.084 93.6)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

  • #353E95

    #353E95

    oklch(40.9% 0.141 273.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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