#663A8D

Closest named color: Rebecca Purple (#663399). oklch(44.2% 0.135 306.1), rgb(102, 58, 141).

Aa

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

About this color

#663A8D is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.135 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.026 away. White text reads best on it, at 8.21:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.55:1
White text8.21:1

Values

HEX#663A8D
RGBrgb(102, 58, 141)
HSLhsl(272, 42%, 39%)
OKLCHoklch(44.2% 0.135 306.1)

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 #663A8D 8.21:1 AAA Lc -92.7 Preferred for body text
Black text on #663A8D 2.55:1 Fails Lc 15.9 Dividers and decoration only
#663A8D text on white 8.21:1 AAA Lc 88.1 Fine for body text
#663A8D text on black 2.55: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CDB4EA

    oklch(80.9% 0.079 305.7)

  5. Step 400

    400

    #B48BDF

    oklch(70.7% 0.127 305.8)

  6. Step 500

    500

    #A26BD6

    oklch(63.1% 0.163 306)

  7. Step 600

    600

    #8D50C3

    oklch(55.5% 0.176 305.9)

  8. Step 700

    700

    #7840A8

    oklch(49% 0.163 306.1)

  9. Step 800

    800 (this color)

    #663A8D

    oklch(44.2% 0.135 306.1)

  10. Step 900

    900

    #50306D

    oklch(37.8% 0.105 306.2)

  11. Step 950

    950

    #2F1C40

    oklch(27% 0.068 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#663A8D 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)#1A4D900.110
Deuteranopia (no green cones)#2B4F8B0.099
Tritanopia (no blue cones)#604A5E0.098
Achromatopsia (no color)#4F4F4F0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #663A8D

    #663A8D

    oklch(44.2% 0.135 306.1)

  • #435D00

    #435D00

    oklch(44.1% 0.112 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663A8D

    #663A8D

    oklch(44.2% 0.135 306.1)

  • #41489C

    #41489C

    oklch(44.3% 0.135 275.8)

  • #7F2F6F

    #7F2F6F

    oklch(44.3% 0.136 336.2)

Open the analogous palette in the generator

Split complementary

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

  • #663A8D

    #663A8D

    oklch(44.2% 0.135 306.1)

  • #625200

    #625200

    oklch(44.2% 0.091 96)

  • #006439

    #006439

    oklch(44.2% 0.107 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663A8D

    #663A8D

    oklch(44.2% 0.135 306.1)

  • #774600

    #774600

    oklch(44.2% 0.098 66)

  • #006159

    #006159

    oklch(44.3% 0.078 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663A8D

    #663A8D

    oklch(44.2% 0.135 306.1)

  • #8E2E12

    #8E2E12

    oklch(44.1% 0.136 36.1)

  • #435D00

    #435D00

    oklch(44.1% 0.112 126.2)

  • #005D6F

    #005D6F

    oklch(44.1% 0.079 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #663A8D 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.