#831868

Closest named color: Purple (#800080). oklch(42.3% 0.163 340.7), rgb(131, 24, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.163)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.29:1
White text9.14:1

Values

HEX#831868
RGBrgb(131, 24, 104)
HSLhsl(315, 69%, 30%)
OKLCHoklch(42.3% 0.163 340.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 #831868 9.14:1 AAA Lc -94.2 Preferred for body text
Black text on #831868 2.29:1 Fails Lc 14.2 Not readable
#831868 text on white 9.14:1 AAA Lc 89.7 Fine for body text
#831868 text on black 2.29: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F2CCE4

    oklch(88.5% 0.053 340)

  4. Step 300

    300

    #EBA9D3

    oklch(81% 0.094 340.9)

  5. Step 400

    400

    #DE77BD

    oklch(70.6% 0.152 340.6)

  6. Step 500

    500

    #D24EAC

    oklch(63% 0.195 340.8)

  7. Step 600

    600

    #BD2998

    oklch(55.6% 0.212 340.5)

  8. Step 700

    700

    #A31981

    oklch(49.1% 0.196 341)

  9. Step 800

    800 (this color)

    #831868

    oklch(42.3% 0.163 340.7)

  10. Step 900

    900

    #6B1E55

    oklch(37.8% 0.126 341.2)

  11. Step 950

    950

    #3F1332

    oklch(27% 0.081 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#831868 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)#223D6A0.181
Deuteranopia (no green cones)#454E660.155
Tritanopia (no blue cones)#8B1B3F0.074
Achromatopsia (no color)#4848480.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #831868

    #831868

    oklch(42.3% 0.163 340.7)

  • #005D3C

    #005D3C

    oklch(42.2% 0.094 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831868

    #831868

    oklch(42.3% 0.163 340.7)

  • #6A298E

    #6A298E

    oklch(42.4% 0.163 310.8)

  • #910B38

    #910B38

    oklch(42.4% 0.163 10.7)

Open the analogous palette in the generator

Split complementary

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

  • #831868

    #831868

    oklch(42.3% 0.163 340.7)

  • #375A00

    #375A00

    oklch(42.4% 0.116 130.8)

  • #005A57

    #005A57

    oklch(42.2% 0.073 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831868

    #831868

    oklch(42.3% 0.163 340.7)

  • #594F00

    #594F00

    oklch(42.4% 0.089 101)

  • #00576B

    #00576B

    oklch(42.3% 0.077 220.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831868

    #831868

    oklch(42.3% 0.163 340.7)

  • #6D4400

    #6D4400

    oklch(42.4% 0.091 70.8)

  • #005D3C

    #005D3C

    oklch(42.2% 0.094 160.7)

  • #004F8D

    #004F8D

    oklch(42.3% 0.122 250.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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