#663187

Closest named color: Rebecca Purple (#663399). oklch(42.5% 0.143 310.1), rgb(102, 49, 135).

Aa

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

About this color

#663187 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.143 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.030 away. White text reads best on it, at 8.92:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.143)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.35:1
White text8.92:1

Values

HEX#663187
RGBrgb(102, 49, 135)
HSLhsl(277, 47%, 36%)
OKLCHoklch(42.5% 0.143 310.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 #663187 8.92:1 AAA Lc -94.4 Preferred for body text
Black text on #663187 2.35:1 Fails Lc 14.0 Not readable
#663187 text on white 8.92:1 AAA Lc 90.0 Fine for body text
#663187 text on black 2.35:1 Fails Lc -12.3 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

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F1

    oklch(88.5% 0.047 310.5)

  4. Step 300

    300

    #D1B2E9

    oklch(80.9% 0.083 310.1)

  5. Step 400

    400

    #BA88DE

    oklch(70.7% 0.132 310.1)

  6. Step 500

    500

    #A967D5

    oklch(63.1% 0.17 310.1)

  7. Step 600

    600

    #944BC2

    oklch(55.6% 0.185 310)

  8. Step 700

    700

    #7E3BA8

    oklch(49.1% 0.172 309.8)

  9. Step 800

    800 (this color)

    #663187

    oklch(42.5% 0.143 310.1)

  10. Step 900

    900

    #542D6D

    oklch(37.8% 0.111 310.3)

  11. Step 950

    950

    #311B40

    oklch(27% 0.071 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#663187 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)#0A478A0.126
Deuteranopia (no green cones)#274A850.110
Tritanopia (no blue cones)#6242570.099
Achromatopsia (no color)#4A4A4A0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #663187

    #663187

    oklch(42.5% 0.143 310.1)

  • #385A00

    #385A00

    oklch(42.5% 0.115 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #663187

    #663187

    oklch(42.5% 0.143 310.1)

  • #433F99

    #433F99

    oklch(42.5% 0.143 280.4)

  • #7D2566

    #7D2566

    oklch(42.4% 0.142 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #663187

    #663187

    oklch(42.5% 0.143 310.1)

  • #5A4F00

    #5A4F00

    oklch(42.5% 0.088 100.1)

  • #005E3C

    #005E3C

    oklch(42.5% 0.096 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #663187

    #663187

    oklch(42.5% 0.143 310.1)

  • #6E4400

    #6E4400

    oklch(42.6% 0.092 70.1)

  • #005B57

    #005B57

    oklch(42.5% 0.073 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #663187

    #663187

    oklch(42.5% 0.143 310.1)

  • #872C00

    #872C00

    oklch(42.5% 0.133 40.3)

  • #385A00

    #385A00

    oklch(42.5% 0.115 130.4)

  • #00586B

    #00586B

    oklch(42.5% 0.077 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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