#831C5D

Closest named color: Red Purple (#820747). oklch(42.1% 0.152 347), rgb(131, 28, 93).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.28:1
White text9.17:1

Values

HEX#831C5D
RGBrgb(131, 28, 93)
HSLhsl(322, 65%, 31%)
OKLCHoklch(42.1% 0.152 347)

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 #831C5D 9.17:1 AAA Lc -94.4 Preferred for body text
Black text on #831C5D 2.28:1 Fails Lc 14.0 Not readable
#831C5D text on white 9.17:1 AAA Lc 89.9 Fine for body text
#831C5D text on black 2.28:1 Fails Lc -12.3 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CDDF

    oklch(88.6% 0.049 347.9)

  4. Step 300

    300

    #ECAACC

    oklch(81% 0.088 347)

  5. Step 400

    400

    #DF79B2

    oklch(70.7% 0.143 346.7)

  6. Step 500

    500

    #D3529E

    oklch(63.1% 0.181 347.1)

  7. Step 600

    600

    #BE3089

    oklch(55.6% 0.197 347)

  8. Step 700

    700

    #A42074

    oklch(49.1% 0.184 347.3)

  9. Step 800

    800 (this color)

    #831C5D

    oklch(42.1% 0.152 347)

  10. Step 900

    900

    #6B204D

    oklch(37.6% 0.118 347.3)

  11. Step 950

    950

    #3F142D

    oklch(26.9% 0.075 347.3)

Export this scale for Tailwind in the Tailwind colors tool

#831C5D 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)#2B3D5F0.170
Deuteranopia (no green cones)#4A4E5B0.148
Tritanopia (no blue cones)#8D183A0.062
Achromatopsia (no color)#4848480.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #831C5D

    #831C5D

    oklch(42.1% 0.152 347)

  • #005C43

    #005C43

    oklch(42.1% 0.087 166.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831C5D

    #831C5D

    oklch(42.1% 0.152 347)

  • #6D2983

    #6D2983

    oklch(42.1% 0.153 316.8)

  • #8D172E

    #8D172E

    oklch(42.1% 0.151 16.9)

Open the analogous palette in the generator

Split complementary

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

  • #831C5D

    #831C5D

    oklch(42.1% 0.152 347)

  • #265C00

    #265C00

    oklch(42.1% 0.128 137)

  • #00595B

    #00595B

    oklch(42.1% 0.072 197.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831C5D

    #831C5D

    oklch(42.1% 0.152 347)

  • #535000

    #535000

    oklch(42% 0.09 107.2)

  • #005670

    #005670

    oklch(42.3% 0.081 226.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831C5D

    #831C5D

    oklch(42.1% 0.152 347)

  • #684600

    #684600

    oklch(42.2% 0.088 77.2)

  • #005C43

    #005C43

    oklch(42.1% 0.087 166.7)

  • #00499C

    #00499C

    oklch(42% 0.149 257.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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