#831970

Closest named color: Purple (#800080). oklch(42.8% 0.167 336.7), rgb(131, 25, 112).

Aa

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

About this color

#831970 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.167 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.038 away. White text reads best on it, at 8.98:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.167)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.33:1
White text8.98:1

Values

HEX#831970
RGBrgb(131, 25, 112)
HSLhsl(311, 68%, 31%)
OKLCHoklch(42.8% 0.167 336.7)

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 #831970 8.98:1 AAA Lc -93.8 Preferred for body text
Black text on #831970 2.33:1 Fails Lc 14.7 Not readable
#831970 text on white 8.98:1 AAA Lc 89.3 Fine for body text
#831970 text on black 2.33:1 Fails Lc -12.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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE6

    oklch(88.5% 0.054 337.7)

  4. Step 300

    300

    #EAA8D8

    oklch(80.8% 0.099 336.8)

  5. Step 400

    400

    #DC77C4

    oklch(70.7% 0.156 336.7)

  6. Step 500

    500

    #D04EB5

    oklch(63.2% 0.2 336.8)

  7. Step 600

    600

    #BB28A1

    oklch(55.6% 0.218 336.6)

  8. Step 700

    700

    #A11789

    oklch(49.1% 0.202 337)

  9. Step 800

    800 (this color)

    #831970

    oklch(42.8% 0.167 336.7)

  10. Step 900

    900

    #691D5A

    oklch(37.6% 0.13 336.8)

  11. Step 950

    950

    #3E1335

    oklch(27% 0.082 336.7)

Export this scale for Tailwind in the Tailwind colors tool

#831970 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)#1C3F720.185
Deuteranopia (no green cones)#424F6E0.157
Tritanopia (no blue cones)#8A21440.081
Achromatopsia (no color)#4949490.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #831970

    #831970

    oklch(42.8% 0.167 336.7)

  • #005F37

    #005F37

    oklch(42.7% 0.102 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831970

    #831970

    oklch(42.8% 0.167 336.7)

  • #672B95

    #672B95

    oklch(42.8% 0.167 306.5)

  • #930740

    #930740

    oklch(42.9% 0.168 6.7)

Open the analogous palette in the generator

Split complementary

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

  • #831970

    #831970

    oklch(42.8% 0.167 336.7)

  • #3F5900

    #3F5900

    oklch(42.7% 0.11 126.7)

  • #005C56

    #005C56

    oklch(42.8% 0.075 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831970

    #831970

    oklch(42.8% 0.167 336.7)

  • #5D4F00

    #5D4F00

    oklch(42.9% 0.088 97.4)

  • #00596A

    #00596A

    oklch(42.8% 0.076 216.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831970

    #831970

    oklch(42.8% 0.167 336.7)

  • #714300

    #714300

    oklch(42.8% 0.095 66.9)

  • #005F37

    #005F37

    oklch(42.7% 0.102 156.7)

  • #005388

    #005388

    oklch(42.9% 0.111 246.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #831970 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.