#78276D

Closest named color: Purple (#800080). oklch(42.2% 0.141 333.6), rgb(120, 39, 109).

Aa

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

About this color

#78276D is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.141 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.054 away. White text reads best on it, at 9.09:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.141)
Temperaturein between
Nearest namePurple (#800080)
Black text2.30:1
White text9.09:1

Values

HEX#78276D
RGBrgb(120, 39, 109)
HSLhsl(308, 51%, 31%)
OKLCHoklch(42.2% 0.141 333.6)

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 #78276D 9.09:1 AAA Lc -94.6 Preferred for body text
Black text on #78276D 2.30:1 Fails Lc 13.8 Not readable
#78276D text on white 9.09:1 AAA Lc 90.1 Preferred for body text
#78276D text on black 2.30:1 Fails Lc -12.1 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE6

    oklch(88.4% 0.047 333.8)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400

    #D180C3

    oklch(70.7% 0.131 333.4)

  6. Step 500

    500

    #C45CB4

    oklch(63.2% 0.17 333.6)

  7. Step 600

    600

    #AF3E9F

    oklch(55.6% 0.184 333.8)

  8. Step 700

    700

    #962F88

    oklch(49.1% 0.171 333.8)

  9. Step 800

    800 (this color)

    #78276D

    oklch(42.2% 0.141 333.6)

  10. Step 900

    900

    #62275A

    oklch(37.7% 0.109 333)

  11. Step 950

    950

    #3A1734

    oklch(26.9% 0.07 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#78276D 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)#25416F0.150
Deuteranopia (no green cones)#404D6B0.131
Tritanopia (no blue cones)#7E2D460.072
Achromatopsia (no color)#4848480.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #78276D

    #78276D

    oklch(42.2% 0.141 333.6)

  • #005E30

    #005E30

    oklch(42.3% 0.108 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78276D

    #78276D

    oklch(42.2% 0.141 333.6)

  • #5F338B

    #5F338B

    oklch(42.2% 0.142 303.9)

  • #871F45

    #871F45

    oklch(42.2% 0.141 3.7)

Open the analogous palette in the generator

Split complementary

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

  • #78276D

    #78276D

    oklch(42.2% 0.141 333.6)

  • #425600

    #425600

    oklch(42.1% 0.104 123.7)

  • #005A52

    #005A52

    oklch(42% 0.074 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78276D

    #78276D

    oklch(42.2% 0.141 333.6)

  • #5D4C00

    #5D4C00

    oklch(42.2% 0.086 94.1)

  • #005866

    #005866

    oklch(42.3% 0.074 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78276D

    #78276D

    oklch(42.2% 0.141 333.6)

  • #714000

    #714000

    oklch(42.2% 0.096 63.7)

  • #005E30

    #005E30

    oklch(42.3% 0.108 153.4)

  • #005281

    #005281

    oklch(42.2% 0.103 243.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78276D 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.