#831168

Closest named color: Purple (#800080). oklch(41.9% 0.169 340.5), rgb(131, 17, 104).

Aa

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

About this color

#831168 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.169 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.046 away. White text reads best on it, at 9.35:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.169)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.24:1
White text9.35:1

Values

HEX#831168
RGBrgb(131, 17, 104)
HSLhsl(314, 77%, 29%)
OKLCHoklch(41.9% 0.169 340.5)

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 #831168 9.35:1 AAA Lc -94.5 Preferred for body text
Black text on #831168 2.24:1 Fails Lc 13.9 Not readable
#831168 text on white 9.35:1 AAA Lc 90.1 Preferred for body text
#831168 text on black 2.24:1 Fails Lc -12.2 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #ECA8D4

    oklch(80.9% 0.097 340.5)

  5. Step 400

    400

    #E075BE

    oklch(70.6% 0.158 340.7)

  6. Step 500

    500

    #D44BAE

    oklch(63.1% 0.202 340.4)

  7. Step 600

    600

    #BF2399

    oklch(55.6% 0.219 340.6)

  8. Step 700

    700

    #A51183

    oklch(49.2% 0.204 340.6)

  9. Step 800

    800 (this color)

    #831168

    oklch(41.9% 0.169 340.5)

  10. Step 900

    900

    #6C1B56

    oklch(37.7% 0.132 340.8)

  11. Step 950

    950

    #3F1233

    oklch(26.9% 0.083 339.6)

Export this scale for Tailwind in the Tailwind colors tool

#831168 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)#1D3B6A0.190
Deuteranopia (no green cones)#434D660.161
Tritanopia (no blue cones)#8B163D0.078
Achromatopsia (no color)#4747470.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #831168

    #831168

    oklch(41.9% 0.169 340.5)

  • #005C3B

    #005C3B

    oklch(41.9% 0.094 160.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831168

    #831168

    oklch(41.9% 0.169 340.5)

  • #69258F

    #69258F

    oklch(41.9% 0.169 310.4)

  • #910036

    #910036

    oklch(41.9% 0.168 10.8)

Open the analogous palette in the generator

Split complementary

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

  • #831168

    #831168

    oklch(41.9% 0.169 340.5)

  • #365800

    #365800

    oklch(41.8% 0.114 130.7)

  • #005956

    #005956

    oklch(41.9% 0.072 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831168

    #831168

    oklch(41.9% 0.169 340.5)

  • #584D00

    #584D00

    oklch(41.8% 0.087 99.9)

  • #00566A

    #00566A

    oklch(41.9% 0.077 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831168

    #831168

    oklch(41.9% 0.169 340.5)

  • #6B4300

    #6B4300

    oklch(41.9% 0.09 71.2)

  • #005C3B

    #005C3B

    oklch(41.9% 0.094 160.5)

  • #004E8B

    #004E8B

    oklch(41.9% 0.12 250.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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