#831266

Closest named color: Velvet (#750851). oklch(41.8% 0.167 341.5), rgb(131, 18, 102).

Aa

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

About this color

#831266 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.167 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.046 away. White text reads best on it, at 9.36:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.24:1
White text9.36:1

Values

HEX#831266
RGBrgb(131, 18, 102)
HSLhsl(315, 76%, 29%)
OKLCHoklch(41.8% 0.167 341.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 #831266 9.36:1 AAA Lc -94.6 Preferred for body text
Black text on #831266 2.24:1 Fails Lc 13.9 Not readable
#831266 text on white 9.36:1 AAA Lc 90.1 Preferred for body text
#831266 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

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F3CCE3

    oklch(88.5% 0.053 342)

  4. Step 300

    300

    #EDA8D3

    oklch(81% 0.098 341.6)

  5. Step 400

    400

    #E076BC

    oklch(70.7% 0.155 341.7)

  6. Step 500

    500

    #D44CAB

    oklch(63.1% 0.198 341.6)

  7. Step 600

    600

    #BF2497

    oklch(55.5% 0.217 341.3)

  8. Step 700

    700

    #A51381

    oklch(49.2% 0.202 341.5)

  9. Step 800

    800 (this color)

    #831266

    oklch(41.8% 0.167 341.5)

  10. Step 900

    900

    #6C1C55

    oklch(37.7% 0.13 341.6)

  11. Step 950

    950

    #401232

    oklch(27.1% 0.083 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#831266 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)#1F3B680.188
Deuteranopia (no green cones)#444D640.160
Tritanopia (no blue cones)#8C153C0.076
Achromatopsia (no color)#4747470.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #831266

    #831266

    oklch(41.8% 0.167 341.5)

  • #005C3C

    #005C3C

    oklch(41.9% 0.093 161.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831266

    #831266

    oklch(41.8% 0.167 341.5)

  • #6A258D

    #6A258D

    oklch(41.9% 0.167 311.6)

  • #910134

    #910134

    oklch(41.9% 0.167 11.9)

Open the analogous palette in the generator

Split complementary

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

  • #831266

    #831266

    oklch(41.8% 0.167 341.5)

  • #345900

    #345900

    oklch(42% 0.116 131.8)

  • #005956

    #005956

    oklch(41.9% 0.072 190.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831266

    #831266

    oklch(41.8% 0.167 341.5)

  • #574E00

    #574E00

    oklch(42% 0.088 101.8)

  • #00566A

    #00566A

    oklch(41.9% 0.077 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831266

    #831266

    oklch(41.8% 0.167 341.5)

  • #6A4300

    #6A4300

    oklch(41.8% 0.09 72)

  • #005C3C

    #005C3C

    oklch(41.9% 0.093 161.2)

  • #004D8D

    #004D8D

    oklch(41.8% 0.124 251.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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