#831272

Closest named color: Purple (#800080). oklch(42.5% 0.175 335.7), rgb(131, 18, 114).

Aa

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

About this color

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

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

Values

HEX#831272
RGBrgb(131, 18, 114)
HSLhsl(309, 76%, 29%)
OKLCHoklch(42.5% 0.175 335.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 #831272 9.15:1 AAA Lc -94.1 Preferred for body text
Black text on #831272 2.29:1 Fails Lc 14.4 Not readable
#831272 text on white 9.15:1 AAA Lc 89.5 Fine for body text
#831272 text on black 2.29:1 Fails Lc -12.7 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

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE8

    oklch(88.6% 0.056 335.5)

  4. Step 300

    300

    #EBA7DA

    oklch(80.8% 0.103 335.9)

  5. Step 400

    400

    #DD75C7

    oklch(70.6% 0.163 335.7)

  6. Step 500

    500

    #D14AB9

    oklch(63.1% 0.209 335.5)

  7. Step 600

    600

    #BC21A5

    oklch(55.6% 0.226 335.5)

  8. Step 700

    700

    #A20D8D

    oklch(49.1% 0.211 335.7)

  9. Step 800

    800 (this color)

    #831272

    oklch(42.5% 0.175 335.7)

  10. Step 900

    900

    #6A1B5D

    oklch(37.7% 0.136 335.4)

  11. Step 950

    950

    #3F1236

    oklch(27.1% 0.086 336.4)

Export this scale for Tailwind in the Tailwind colors tool

#831272 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)#133E740.195
Deuteranopia (no green cones)#3F4E700.164
Tritanopia (no blue cones)#8A1E430.087
Achromatopsia (no color)#4848480.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #831272

    #831272

    oklch(42.5% 0.175 335.7)

  • #005E35

    #005E35

    oklch(42.4% 0.103 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831272

    #831272

    oklch(42.5% 0.175 335.7)

  • #662798

    #662798

    oklch(42.5% 0.175 305.5)

  • #920041

    #920041

    oklch(42.4% 0.17 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #831272

    #831272

    oklch(42.5% 0.175 335.7)

  • #405800

    #405800

    oklch(42.5% 0.108 125.7)

  • #005B54

    #005B54

    oklch(42.4% 0.074 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831272

    #831272

    oklch(42.5% 0.175 335.7)

  • #5D4D00

    #5D4D00

    oklch(42.4% 0.087 95.2)

  • #005868

    #005868

    oklch(42.4% 0.075 215.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831272

    #831272

    oklch(42.5% 0.175 335.7)

  • #714200

    #714200

    oklch(42.6% 0.095 65.8)

  • #005E35

    #005E35

    oklch(42.4% 0.103 155.9)

  • #005285

    #005285

    oklch(42.5% 0.108 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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