#812266

Closest named color: Velvet (#750851). oklch(42.7% 0.149 341.5), rgb(129, 34, 102).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.35:1
White text8.92:1

Values

HEX#812266
RGBrgb(129, 34, 102)
HSLhsl(317, 58%, 32%)
OKLCHoklch(42.7% 0.149 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 #812266 8.92:1 AAA Lc -94.0 Preferred for body text
Black text on #812266 2.35:1 Fails Lc 14.5 Not readable
#812266 text on white 8.92:1 AAA Lc 89.4 Fine for body text
#812266 text on black 2.35:1 Fails Lc -12.8 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F7E4EF

    oklch(93.7% 0.025 341.8)

  3. Step 200

    200

    #F1CDE2

    oklch(88.5% 0.049 342.3)

  4. Step 300

    300

    #E8ABD1

    oklch(80.9% 0.086 341.4)

  5. Step 400

    400

    #DA7BB9

    oklch(70.6% 0.139 341.7)

  6. Step 500

    500

    #CE55A8

    oklch(63.1% 0.179 341.6)

  7. Step 600

    600

    #B93593

    oklch(55.7% 0.194 341.7)

  8. Step 700

    700

    #9F267D

    oklch(49.2% 0.18 341.8)

  9. Step 800

    800 (this color)

    #812266

    oklch(42.7% 0.149 341.5)

  10. Step 900

    900

    #682253

    oklch(37.7% 0.117 341.5)

  11. Step 950

    950

    #3D1531

    oklch(26.9% 0.074 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#812266 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)#2A40680.164
Deuteranopia (no green cones)#484F640.142
Tritanopia (no blue cones)#8924410.067
Achromatopsia (no color)#4A4A4A0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #812266

    #812266

    oklch(42.7% 0.149 341.5)

  • #005E3E

    #005E3E

    oklch(42.6% 0.094 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812266

    #812266

    oklch(42.7% 0.149 341.5)

  • #692F89

    #692F89

    oklch(42.7% 0.149 311.4)

  • #8E1B3A

    #8E1B3A

    oklch(42.8% 0.15 11.3)

Open the analogous palette in the generator

Split complementary

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

  • #812266

    #812266

    oklch(42.7% 0.149 341.5)

  • #365B00

    #365B00

    oklch(42.7% 0.117 131.5)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812266

    #812266

    oklch(42.7% 0.149 341.5)

  • #595000

    #595000

    oklch(42.7% 0.089 102)

  • #00586E

    #00586E

    oklch(42.7% 0.079 222.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812266

    #812266

    oklch(42.7% 0.149 341.5)

  • #6E4500

    #6E4500

    oklch(42.8% 0.092 71.2)

  • #005E3E

    #005E3E

    oklch(42.6% 0.094 161.6)

  • #005091

    #005091

    oklch(42.8% 0.126 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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