#812494

Closest named color: Dark Magenta (#8B008B). oklch(45.6% 0.184 320.2), rgb(129, 36, 148).

Aa

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

About this color

#812494 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.184 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.036 away. White text reads best on it, at 8.03:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.184)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.61:1
White text8.03:1

Values

HEX#812494
RGBrgb(129, 36, 148)
HSLhsl(290, 61%, 36%)
OKLCHoklch(45.6% 0.184 320.2)

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 #812494 8.03:1 AAA Lc -91.5 Preferred for body text
Black text on #812494 2.61:1 Fails Lc 17.2 Dividers and decoration only
#812494 text on white 8.03:1 AAA Lc 86.8 Fine for body text
#812494 text on black 2.61:1 Fails Lc -15.3 Dividers and decoration only

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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F4E4F7

    oklch(93.7% 0.03 320.9)

  3. Step 200

    200

    #EBCDF2

    oklch(88.5% 0.059 319.8)

  4. Step 300

    300

    #E0AAEC

    oklch(80.9% 0.108 320.1)

  5. Step 400

    400

    #CF79E2

    oklch(70.8% 0.172 320.2)

  6. Step 500

    500

    #C14FD9

    oklch(63.1% 0.219 320.3)

  7. Step 600

    600

    #AC28C6

    oklch(55.5% 0.238 320.2)

  8. Step 700

    700

    #9416AB

    oklch(49.1% 0.222 320.4)

  9. Step 800

    800 (this color)

    #812494

    oklch(45.6% 0.184 320.2)

  10. Step 900

    900

    #611E6F

    oklch(37.7% 0.143 320.2)

  11. Step 950

    950

    #391341

    oklch(26.9% 0.091 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#812494 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)#004A970.181
Deuteranopia (no green cones)#2F53910.160
Tritanopia (no blue cones)#813A5A0.112
Achromatopsia (no color)#5050500.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #812494

    #812494

    oklch(45.6% 0.184 320.2)

  • #1B6900

    #1B6900

    oklch(45.6% 0.147 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812494

    #812494

    oklch(45.6% 0.184 320.2)

  • #5B38B3

    #5B38B3

    oklch(45.6% 0.184 290.3)

  • #9A0C65

    #9A0C65

    oklch(45.7% 0.184 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #812494

    #812494

    oklch(45.6% 0.184 320.2)

  • #5B5B00

    #5B5B00

    oklch(45.6% 0.099 109.8)

  • #00674F

    #00674F

    oklch(45.7% 0.091 169.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812494

    #812494

    oklch(45.6% 0.184 320.2)

  • #725000

    #725000

    oklch(45.6% 0.094 80.3)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812494

    #812494

    oklch(45.6% 0.184 320.2)

  • #8A3E00

    #8A3E00

    oklch(45.7% 0.121 50)

  • #1B6900

    #1B6900

    oklch(45.6% 0.147 140.2)

  • #005F80

    #005F80

    oklch(45.5% 0.092 230.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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