#66339E

Closest named color: Rebecca Purple (#663399). oklch(44.4% 0.166 301.9), rgb(102, 51, 158).

Aa

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

About this color

#66339E is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.166 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.008 away. White text reads best on it, at 8.29:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.166)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.53:1
White text8.29:1

Values

HEX#66339E
RGBrgb(102, 51, 158)
HSLhsl(269, 51%, 41%)
OKLCHoklch(44.4% 0.166 301.9)

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 #66339E 8.29:1 AAA Lc -92.7 Preferred for body text
Black text on #66339E 2.53:1 Fails Lc 16.0 Dividers and decoration only
#66339E text on white 8.29:1 AAA Lc 88.0 Fine for body text
#66339E text on black 2.53:1 Fails Lc -14.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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F8

    oklch(88.4% 0.055 301.6)

  4. Step 300

    300

    #CCB2F5

    oklch(80.9% 0.097 302.1)

  5. Step 400

    400

    #B387F0

    oklch(70.8% 0.154 301.9)

  6. Step 500

    500

    #A164EB

    oklch(63.2% 0.198 301.9)

  7. Step 600

    600

    #8D45D9

    oklch(55.6% 0.215 302.1)

  8. Step 700

    700

    #7835BD

    oklch(49.2% 0.201 301.8)

  9. Step 800

    800 (this color)

    #66339E

    oklch(44.4% 0.166 301.9)

  10. Step 900

    900

    #4F2B79

    oklch(37.7% 0.128 301.8)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#66339E 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)#004DA10.123
Deuteranopia (no green cones)#004E9C0.125
Tritanopia (no blue cones)#5A4B640.123
Achromatopsia (no color)#4E4E4E0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #66339E

    #66339E

    oklch(44.4% 0.166 301.9)

  • #4A5C00

    #4A5C00

    oklch(44.4% 0.107 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #66339E

    #66339E

    oklch(44.4% 0.166 301.9)

  • #3745AD

    #3745AD

    oklch(44.4% 0.165 272)

  • #84237B

    #84237B

    oklch(44.4% 0.165 332)

Open the analogous palette in the generator

Split complementary

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

  • #66339E

    #66339E

    oklch(44.4% 0.166 301.9)

  • #665100

    #665100

    oklch(44.4% 0.091 91.5)

  • #006530

    #006530

    oklch(44.4% 0.118 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #66339E

    #66339E

    oklch(44.4% 0.166 301.9)

  • #7B4400

    #7B4400

    oklch(44.4% 0.103 61.6)

  • #006257

    #006257

    oklch(44.5% 0.08 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #66339E

    #66339E

    oklch(44.4% 0.166 301.9)

  • #9B1A03

    #9B1A03

    oklch(44.5% 0.166 31.9)

  • #4A5C00

    #4A5C00

    oklch(44.4% 0.107 121.9)

  • #005F6C

    #005F6C

    oklch(44.5% 0.077 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #66339E 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.