#662479

Closest named color: Rebecca Purple (#663399). oklch(39.8% 0.147 317.8), rgb(102, 36, 121).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.147)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.09:1
White text10.03:1

Values

HEX#662479
RGBrgb(102, 36, 121)
HSLhsl(287, 54%, 31%)
OKLCHoklch(39.8% 0.147 317.8)

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 #662479 10.03:1 AAA Lc -96.7 Preferred for body text
Black text on #662479 2.09:1 Fails Lc 11.4 Not readable
#662479 text on white 10.03:1 AAA Lc 92.5 Preferred for body text
#662479 text on black 2.09:1 Fails Lc -9.9 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

    #EACDF4

    oklch(88.5% 0.061 317.4)

  4. Step 300

    300

    #DEAAEF

    oklch(80.9% 0.11 317.7)

  5. Step 400

    400

    #CD79E7

    oklch(70.8% 0.176 317.8)

  6. Step 500

    500

    #BF4EDF

    oklch(63.1% 0.225 318)

  7. Step 600

    600

    #AA26CD

    oklch(55.6% 0.244 317.7)

  8. Step 700

    700

    #9213B1

    oklch(49.1% 0.227 317.9)

  9. Step 800

    800

    #761790

    oklch(42.7% 0.188 317.4)

  10. Step 900

    900 (this color)

    #662479

    oklch(39.8% 0.147 317.8)

  11. Step 950

    950

    #381343

    oklch(26.9% 0.093 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#662479 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)#003E7B0.145
Deuteranopia (no green cones)#2744770.124
Tritanopia (no blue cones)#65344B0.094
Achromatopsia (no color)#4242420.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #662479

    #662479

    oklch(39.8% 0.147 317.8)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662479

    #662479

    oklch(39.8% 0.147 317.8)

  • #473290

    #473290

    oklch(39.8% 0.148 288.1)

  • #7A1755

    #7A1755

    oklch(39.8% 0.146 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #662479

    #662479

    oklch(39.8% 0.147 317.8)

  • #4C4A00

    #4C4A00

    oklch(39.8% 0.086 108)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662479

    #662479

    oklch(39.8% 0.147 317.8)

  • #5F4000

    #5F4000

    oklch(39.7% 0.083 77.7)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662479

    #662479

    oklch(39.8% 0.147 317.8)

  • #743000

    #743000

    oklch(39.8% 0.109 47.6)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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