#831F5D

Closest named color: Red Purple (#820747). oklch(42.4% 0.148 347.3), rgb(131, 31, 93).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.148)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.31:1
White text9.05:1

Values

HEX#831F5D
RGBrgb(131, 31, 93)
HSLhsl(323, 62%, 32%)
OKLCHoklch(42.4% 0.148 347.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 #831F5D 9.05:1 AAA Lc -94.2 Preferred for body text
Black text on #831F5D 2.31:1 Fails Lc 14.3 Not readable
#831F5D text on white 9.05:1 AAA Lc 89.7 Fine for body text
#831F5D text on black 2.31:1 Fails Lc -12.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3ED

    oklch(93.5% 0.025 345.8)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7AB1

    oklch(70.7% 0.139 347.1)

  6. Step 500

    500

    #D2549D

    oklch(63.1% 0.177 347.5)

  7. Step 600

    600

    #BD3388

    oklch(55.6% 0.192 347.4)

  8. Step 700

    700

    #A32373

    oklch(49.1% 0.179 347.6)

  9. Step 800

    800 (this color)

    #831F5D

    oklch(42.4% 0.148 347.3)

  10. Step 900

    900

    #6B214D

    oklch(37.8% 0.117 347.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#831F5D 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)#2D3E5F0.166
Deuteranopia (no green cones)#4B4F5B0.145
Tritanopia (no blue cones)#8D1B3B0.060
Achromatopsia (no color)#4949490.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #831F5D

    #831F5D

    oklch(42.4% 0.148 347.3)

  • #005D44

    #005D44

    oklch(42.4% 0.087 166.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831F5D

    #831F5D

    oklch(42.4% 0.148 347.3)

  • #6D2B82

    #6D2B82

    oklch(42.3% 0.149 317)

  • #8D1B2F

    #8D1B2F

    oklch(42.4% 0.148 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #831F5D

    #831F5D

    oklch(42.4% 0.148 347.3)

  • #255D00

    #255D00

    oklch(42.4% 0.129 137.4)

  • #005A5C

    #005A5C

    oklch(42.4% 0.072 197.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831F5D

    #831F5D

    oklch(42.4% 0.148 347.3)

  • #545100

    #545100

    oklch(42.4% 0.091 107.3)

  • #005671

    #005671

    oklch(42.3% 0.082 227.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831F5D

    #831F5D

    oklch(42.4% 0.148 347.3)

  • #694700

    #694700

    oklch(42.5% 0.089 77.5)

  • #005D44

    #005D44

    oklch(42.4% 0.087 166.9)

  • #054A9D

    #054A9D

    oklch(42.4% 0.149 257.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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