#812274

Closest named color: Purple (#800080). oklch(43.5% 0.159 334.1), rgb(129, 34, 116).

Aa

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

About this color

#812274 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.159 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.041 away. White text reads best on it, at 8.69:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.159)
Temperaturein between
Nearest namePurple (#800080)
Black text2.41:1
White text8.69:1

Values

HEX#812274
RGBrgb(129, 34, 116)
HSLhsl(308, 58%, 32%)
OKLCHoklch(43.5% 0.159 334.1)

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 #812274 8.69:1 AAA Lc -93.4 Preferred for body text
Black text on #812274 2.41:1 Fails Lc 15.2 Dividers and decoration only
#812274 text on white 8.69:1 AAA Lc 88.8 Fine for body text
#812274 text on black 2.41:1 Fails Lc -13.4 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E6AAD9

    oklch(80.8% 0.093 334.3)

  5. Step 400

    400

    #D77AC6

    oklch(70.6% 0.149 334.1)

  6. Step 500

    500

    #CA53B8

    oklch(63% 0.191 333.9)

  7. Step 600

    600

    #B531A4

    oklch(55.5% 0.207 333.8)

  8. Step 700

    700

    #9C228C

    oklch(49.1% 0.192 334.2)

  9. Step 800

    800 (this color)

    #812274

    oklch(43.5% 0.159 334.1)

  10. Step 900

    900

    #66215C

    oklch(37.7% 0.124 333.9)

  11. Step 950

    950

    #3C1536

    oklch(27% 0.078 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#812274 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)#2042760.172
Deuteranopia (no green cones)#4250720.147
Tritanopia (no blue cones)#872A480.081
Achromatopsia (no color)#4B4B4B0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #812274

    #812274

    oklch(43.5% 0.159 334.1)

  • #006234

    #006234

    oklch(43.5% 0.109 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812274

    #812274

    oklch(43.5% 0.159 334.1)

  • #653196

    #653196

    oklch(43.4% 0.159 304.1)

  • #911647

    #911647

    oklch(43.4% 0.159 3.8)

Open the analogous palette in the generator

Split complementary

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

  • #812274

    #812274

    oklch(43.5% 0.159 334.1)

  • #455A00

    #455A00

    oklch(43.4% 0.108 123.8)

  • #005E56

    #005E56

    oklch(43.3% 0.076 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812274

    #812274

    oklch(43.5% 0.159 334.1)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

  • #005B6B

    #005B6B

    oklch(43.4% 0.077 215)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812274

    #812274

    oklch(43.5% 0.159 334.1)

  • #754300

    #754300

    oklch(43.4% 0.098 64.2)

  • #006234

    #006234

    oklch(43.5% 0.109 154.2)

  • #005587

    #005587

    oklch(43.3% 0.108 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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