#662779

Closest named color: Rebecca Purple (#663399). oklch(40.2% 0.142 317.5), rgb(102, 39, 121).

Aa

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

About this color

#662779 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.142 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.056 away. White text reads best on it, at 9.85:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.142)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.13:1
White text9.85:1

Values

HEX#662779
RGBrgb(102, 39, 121)
HSLhsl(286, 51%, 31%)
OKLCHoklch(40.2% 0.142 317.5)

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 #662779 9.85:1 AAA Lc -96.4 Preferred for body text
Black text on #662779 2.13:1 Fails Lc 11.8 Not readable
#662779 text on white 9.85:1 AAA Lc 92.2 Preferred for body text
#662779 text on black 2.13:1 Fails Lc -10.2 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACEF3

    oklch(88.6% 0.058 317.9)

  4. Step 300

    300

    #DDABEE

    oklch(80.9% 0.107 317.4)

  5. Step 400

    400

    #CB7AE5

    oklch(70.6% 0.171 317.5)

  6. Step 500

    500

    #BD51DD

    oklch(63% 0.219 317.7)

  7. Step 600

    600

    #A82CCB

    oklch(55.6% 0.237 317.4)

  8. Step 700

    700

    #901BAF

    oklch(49.1% 0.22 317.5)

  9. Step 800

    800

    #751B8E

    oklch(42.7% 0.183 317.5)

  10. Step 900

    900 (this color)

    #662779

    oklch(40.2% 0.142 317.5)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#662779 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)#083F7B0.139
Deuteranopia (no green cones)#2A45770.118
Tritanopia (no blue cones)#65364C0.091
Achromatopsia (no color)#4343430.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #662779

    #662779

    oklch(40.2% 0.142 317.5)

  • #215600

    #215600

    oklch(40.1% 0.123 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662779

    #662779

    oklch(40.2% 0.142 317.5)

  • #47358F

    #47358F

    oklch(40.2% 0.142 287.4)

  • #7A1B56

    #7A1B56

    oklch(40.1% 0.142 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #662779

    #662779

    oklch(40.2% 0.142 317.5)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

  • #00563F

    #00563F

    oklch(40.2% 0.082 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662779

    #662779

    oklch(40.2% 0.142 317.5)

  • #614100

    #614100

    oklch(40.2% 0.084 77.1)

  • #005355

    #005355

    oklch(40.1% 0.068 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662779

    #662779

    oklch(40.2% 0.142 317.5)

  • #763100

    #763100

    oklch(40.3% 0.11 47.7)

  • #215600

    #215600

    oklch(40.1% 0.123 137.5)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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