#831768

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

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.164)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.28:1
White text9.18:1

Values

HEX#831768
RGBrgb(131, 23, 104)
HSLhsl(315, 70%, 30%)
OKLCHoklch(42.3% 0.164 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 #831768 9.18:1 AAA Lc -94.3 Preferred for body text
Black text on #831768 2.28:1 Fails Lc 14.2 Not readable
#831768 text on white 9.18:1 AAA Lc 89.8 Fine for body text
#831768 text on black 2.28: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

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #EBA8D3

    oklch(80.8% 0.096 340.7)

  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

    #BE2898

    oklch(55.7% 0.213 340.8)

  8. Step 700

    700

    #A31882

    oklch(49.1% 0.198 340.5)

  9. Step 800

    800 (this color)

    #831768

    oklch(42.3% 0.164 340.7)

  10. Step 900

    900

    #6B1D56

    oklch(37.7% 0.128 340.5)

  11. Step 950

    950

    #3F1332

    oklch(27% 0.081 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#831768 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)#213D6A0.183
Deuteranopia (no green cones)#454E660.156
Tritanopia (no blue cones)#8B1A3F0.074
Achromatopsia (no color)#4848480.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #831768

    #831768

    oklch(42.3% 0.164 340.7)

  • #005D3C

    #005D3C

    oklch(42.2% 0.094 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831768

    #831768

    oklch(42.3% 0.164 340.7)

  • #69288E

    #69288E

    oklch(42.2% 0.164 310.4)

  • #910938

    #910938

    oklch(42.3% 0.164 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #831768

    #831768

    oklch(42.3% 0.164 340.7)

  • #375900

    #375900

    oklch(42.1% 0.114 130.5)

  • #005A57

    #005A57

    oklch(42.2% 0.073 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831768

    #831768

    oklch(42.3% 0.164 340.7)

  • #594E00

    #594E00

    oklch(42.2% 0.088 100)

  • #00576B

    #00576B

    oklch(42.3% 0.077 220.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831768

    #831768

    oklch(42.3% 0.164 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 #831768, closest first.

Similar named colors

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

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