#663796

Closest named color: Rebecca Purple (#663399). oklch(44.4% 0.151 303.6), rgb(102, 55, 150).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.151)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.55:1
White text8.22:1

Values

HEX#663796
RGBrgb(102, 55, 150)
HSLhsl(270, 46%, 40%)
OKLCHoklch(44.4% 0.151 303.6)

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 #663796 8.22:1 AAA Lc -92.6 Preferred for body text
Black text on #663796 2.55:1 Fails Lc 16.0 Dividers and decoration only
#663796 text on white 8.22:1 AAA Lc 88.0 Fine for body text
#663796 text on black 2.55:1 Fails Lc -14.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CCB3F0

    oklch(80.9% 0.088 303.2)

  5. Step 400

    400

    #B389E8

    oklch(70.7% 0.141 303.4)

  6. Step 500

    500

    #A168E1

    oklch(63.1% 0.18 303.4)

  7. Step 600

    600

    #8D4BCE

    oklch(55.6% 0.196 303.8)

  8. Step 700

    700

    #783BB3

    oklch(49.1% 0.183 303.7)

  9. Step 800

    800 (this color)

    #663796

    oklch(44.4% 0.151 303.6)

  10. Step 900

    900

    #4F2D73

    oklch(37.6% 0.117 303.7)

  11. Step 950

    950

    #2E1B44

    oklch(26.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#663796 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)#004E990.122
Deuteranopia (no green cones)#1D4F940.111
Tritanopia (no blue cones)#5D4B610.111
Achromatopsia (no color)#4F4F4F0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #663796

    #663796

    oklch(44.4% 0.151 303.6)

  • #485D00

    #485D00

    oklch(44.5% 0.11 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663796

    #663796

    oklch(44.4% 0.151 303.6)

  • #3C47A5

    #3C47A5

    oklch(44.4% 0.15 273.6)

  • #812976

    #812976

    oklch(44.3% 0.152 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #663796

    #663796

    oklch(44.4% 0.151 303.6)

  • #645200

    #645200

    oklch(44.4% 0.091 94.3)

  • #006534

    #006534

    oklch(44.4% 0.114 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663796

    #663796

    oklch(44.4% 0.151 303.6)

  • #794500

    #794500

    oklch(44.3% 0.1 63.8)

  • #006158

    #006158

    oklch(44.3% 0.078 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663796

    #663796

    oklch(44.4% 0.151 303.6)

  • #95260C

    #95260C

    oklch(44.5% 0.151 33.8)

  • #485D00

    #485D00

    oklch(44.5% 0.11 123.5)

  • #005E6D

    #005E6D

    oklch(44.3% 0.078 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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