#660D78

Closest named color: Purple (#800080). oklch(37.8% 0.17 319.7), rgb(102, 13, 120).

Aa

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

About this color

#660D78 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.170 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.056 away. White text reads best on it, at 11.08:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.170)
Temperaturein between
Nearest namePurple (#800080)
Black text1.89:1
White text11.08:1

Values

HEX#660D78
RGBrgb(102, 13, 120)
HSLhsl(290, 80%, 26%)
OKLCHoklch(37.8% 0.17 319.7)

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 #660D78 11.08:1 AAA Lc -98.2 Preferred for body text
Black text on #660D78 1.89:1 Fails Lc 9.8 Not readable
#660D78 text on white 11.08:1 AAA Lc 94.2 Preferred for body text
#660D78 text on black 1.89:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FA

    oklch(93.5% 0.038 319.2)

  3. Step 200

    200

    #EECBF7

    oklch(88.5% 0.07 319.3)

  4. Step 300

    300

    #E5A5F4

    oklch(80.9% 0.128 319.8)

  5. Step 400

    400

    #D66EEE

    oklch(70.6% 0.204 319.8)

  6. Step 500

    500

    #C939E8

    oklch(63% 0.26 319.7)

  7. Step 600

    600

    #B200D1

    oklch(55.7% 0.267 319.8)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900 (this color)

    #660D78

    oklch(37.8% 0.17 319.7)

  11. Step 950

    950

    #3C0D46

    oklch(27.1% 0.107 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#660D78 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)#00367B0.160
Deuteranopia (no green cones)#193E760.151
Tritanopia (no blue cones)#6628460.103
Achromatopsia (no color)#3C3C3C0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #660D78

    #660D78

    oklch(37.8% 0.17 319.7)

  • #155000

    #155000

    oklch(37.8% 0.121 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #660D78

    #660D78

    oklch(37.8% 0.17 319.7)

  • #452393

    #452393

    oklch(37.7% 0.17 289.5)

  • #78004E

    #78004E

    oklch(37.8% 0.158 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #660D78

    #660D78

    oklch(37.8% 0.17 319.7)

  • #454500

    #454500

    oklch(37.8% 0.082 109.8)

  • #004E3B

    #004E3B

    oklch(37.7% 0.075 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #660D78

    #660D78

    oklch(37.8% 0.17 319.7)

  • #573C00

    #573C00

    oklch(37.7% 0.078 80.1)

  • #004C4F

    #004C4F

    oklch(37.8% 0.064 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #660D78

    #660D78

    oklch(37.8% 0.17 319.7)

  • #6A2E00

    #6A2E00

    oklch(37.8% 0.1 50)

  • #155000

    #155000

    oklch(37.8% 0.121 139.7)

  • #004862

    #004862

    oklch(37.7% 0.076 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 #660D78, closest first.

Similar named colors

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

Use #660D78 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.