#831268

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

Aa

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

About this color

#831268 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.168 and its hue 341°. 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.32:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.168)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.25:1
White text9.32:1

Values

HEX#831268
RGBrgb(131, 18, 104)
HSLhsl(314, 76%, 29%)
OKLCHoklch(41.9% 0.168 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 #831268 9.32:1 AAA Lc -94.5 Preferred for body text
Black text on #831268 2.25:1 Fails Lc 14.0 Not readable
#831268 text on white 9.32:1 AAA Lc 90.0 Preferred for body text
#831268 text on black 2.25:1 Fails Lc -12.3 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

    #E076BE

    oklch(70.8% 0.156 340.8)

  6. Step 500

    500

    #D44BAE

    oklch(63.1% 0.202 340.4)

  7. Step 600

    600

    #BF2499

    oklch(55.6% 0.218 340.6)

  8. Step 700

    700

    #A41283

    oklch(49.1% 0.203 340.3)

  9. Step 800

    800 (this color)

    #831268

    oklch(41.9% 0.168 340.5)

  10. Step 900

    900

    #6C1C56

    oklch(37.8% 0.131 340.9)

  11. Step 950

    950

    #3F1233

    oklch(26.9% 0.083 339.6)

Export this scale for Tailwind in the Tailwind colors tool

#831268 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)#1D3C6A0.189
Deuteranopia (no green cones)#444D660.160
Tritanopia (no blue cones)#8B163D0.077
Achromatopsia (no color)#4747470.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #831268

    #831268

    oklch(41.9% 0.168 340.5)

  • #005C3B

    #005C3B

    oklch(41.9% 0.094 160.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831268

    #831268

    oklch(41.9% 0.168 340.5)

  • #69258F

    #69258F

    oklch(41.9% 0.169 310.4)

  • #910037

    #910037

    oklch(42% 0.168 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #831268

    #831268

    oklch(41.9% 0.168 340.5)

  • #375800

    #375800

    oklch(41.9% 0.113 130.2)

  • #005956

    #005956

    oklch(41.9% 0.072 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831268

    #831268

    oklch(41.9% 0.168 340.5)

  • #584E00

    #584E00

    oklch(42.1% 0.088 100.9)

  • #00566A

    #00566A

    oklch(41.9% 0.077 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831268

    #831268

    oklch(41.9% 0.168 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 #831268, closest first.

Similar named colors

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

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