#66217C

Closest named color: Rebecca Purple (#663399). oklch(39.7% 0.154 316.7), rgb(102, 33, 124).

Aa

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

About this color

#66217C is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.154 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.057 away. White text reads best on it, at 10.12:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.154)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.07:1
White text10.12:1

Values

HEX#66217C
RGBrgb(102, 33, 124)
HSLhsl(285, 58%, 31%)
OKLCHoklch(39.7% 0.154 316.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 #66217C 10.12:1 AAA Lc -96.9 Preferred for body text
Black text on #66217C 2.07:1 Fails Lc 11.3 Not readable
#66217C text on white 10.12:1 AAA Lc 92.7 Preferred for body text
#66217C text on black 2.07:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCDF6

    oklch(88.6% 0.064 317)

  4. Step 300

    300

    #DFA9F2

    oklch(80.9% 0.116 317.1)

  5. Step 400

    400

    #CD77EC

    oklch(70.7% 0.184 316.5)

  6. Step 500

    500

    #BF4AE5

    oklch(63% 0.236 316.7)

  7. Step 600

    600

    #AB1CD3

    oklch(55.6% 0.256 316.8)

  8. Step 700

    700

    #9303B7

    oklch(49.2% 0.238 316.8)

  9. Step 800

    800

    #771094

    oklch(42.7% 0.197 316.7)

  10. Step 900

    900 (this color)

    #66217C

    oklch(39.7% 0.154 316.7)

  11. Step 950

    950

    #381245

    oklch(26.9% 0.097 316.3)

Export this scale for Tailwind in the Tailwind colors tool

#66217C 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)#003D7F0.146
Deuteranopia (no green cones)#22447A0.131
Tritanopia (no blue cones)#65334C0.098
Achromatopsia (no color)#4242420.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #66217C

    #66217C

    oklch(39.7% 0.154 316.7)

  • #235400

    #235400

    oklch(39.6% 0.119 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #66217C

    #66217C

    oklch(39.7% 0.154 316.7)

  • #453193

    #453193

    oklch(39.7% 0.153 286.5)

  • #7B1157

    #7B1157

    oklch(39.6% 0.153 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #66217C

    #66217C

    oklch(39.7% 0.154 316.7)

  • #4D4900

    #4D4900

    oklch(39.7% 0.085 106.1)

  • #00543D

    #00543D

    oklch(39.6% 0.081 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #66217C

    #66217C

    oklch(39.7% 0.154 316.7)

  • #604000

    #604000

    oklch(39.8% 0.083 76.8)

  • #005253

    #005253

    oklch(39.8% 0.068 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #66217C

    #66217C

    oklch(39.7% 0.154 316.7)

  • #742F00

    #742F00

    oklch(39.6% 0.11 46.9)

  • #235400

    #235400

    oklch(39.6% 0.119 136.7)

  • #004E66

    #004E66

    oklch(39.5% 0.076 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #66217C 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.