#662C7F

Closest named color: Rebecca Purple (#663399). oklch(41.2% 0.141 314.2), rgb(102, 44, 127).

Aa

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

About this color

#662C7F is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.141 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.044 away. White text reads best on it, at 9.40:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.141)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.23:1
White text9.40:1

Values

HEX#662C7F
RGBrgb(102, 44, 127)
HSLhsl(282, 49%, 34%)
OKLCHoklch(41.2% 0.141 314.2)

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 #662C7F 9.40:1 AAA Lc -95.5 Preferred for body text
Black text on #662C7F 2.23:1 Fails Lc 12.8 Not readable
#662C7F text on white 9.40:1 AAA Lc 91.2 Preferred for body text
#662C7F text on black 2.23:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E4D1EF

    oklch(88.5% 0.045 313.3)

  4. Step 300

    300

    #D4B1E6

    oklch(80.8% 0.082 314.1)

  5. Step 400

    400

    #BF86DA

    oklch(70.7% 0.133 314.4)

  6. Step 500

    500

    #AE65CF

    oklch(63.1% 0.169 314.3)

  7. Step 600

    600

    #9949BC

    oklch(55.6% 0.183 314.2)

  8. Step 700

    700

    #8339A2

    oklch(49.1% 0.171 314.4)

  9. Step 800

    800 (this color)

    #662C7F

    oklch(41.2% 0.141 314.2)

  10. Step 900

    900

    #562C69

    oklch(37.6% 0.109 314.2)

  11. Step 950

    950

    #331A3E

    oklch(27% 0.071 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#662C7F 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)#0B43820.132
Deuteranopia (no green cones)#29487D0.115
Tritanopia (no blue cones)#643B510.093
Achromatopsia (no color)#4646460.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #662C7F

    #662C7F

    oklch(41.2% 0.141 314.2)

  • #2D5800

    #2D5800

    oklch(41.3% 0.119 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662C7F

    #662C7F

    oklch(41.2% 0.141 314.2)

  • #453A93

    #453A93

    oklch(41.2% 0.141 284)

  • #7C205D

    #7C205D

    oklch(41.3% 0.142 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #662C7F

    #662C7F

    oklch(41.2% 0.141 314.2)

  • #534D00

    #534D00

    oklch(41.3% 0.087 104.4)

  • #00593E

    #00593E

    oklch(41.1% 0.087 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662C7F

    #662C7F

    oklch(41.2% 0.141 314.2)

  • #674300

    #674300

    oklch(41.4% 0.088 74.4)

  • #005756

    #005756

    oklch(41.3% 0.071 193.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662C7F

    #662C7F

    oklch(41.2% 0.141 314.2)

  • #7D2F00

    #7D2F00

    oklch(41.2% 0.12 44.1)

  • #2D5800

    #2D5800

    oklch(41.3% 0.119 134.2)

  • #00536A

    #00536A

    oklch(41.1% 0.078 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #662C7F 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.