#662654

Closest named color: Grape Purple (#5D1451). oklch(37.9% 0.109 340), rgb(102, 38, 84).

Aa

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

About this color

#662654 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.109 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.042 away. White text reads best on it, at 10.65:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.97:1
White text10.65:1

Values

HEX#662654
RGBrgb(102, 38, 84)
HSLhsl(317, 46%, 27%)
OKLCHoklch(37.9% 0.109 340)

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 #662654 10.65:1 AAA Lc -98.2 Preferred for body text
Black text on #662654 1.97:1 Fails Lc 9.8 Not readable
#662654 text on white 10.65:1 AAA Lc 94.2 Preferred for body text
#662654 text on black 1.97:1 Fails Lc -8.4 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 900.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #EFCEE3

    oklch(88.5% 0.046 339.7)

  4. Step 300

    300

    #E5ACD1

    oklch(80.8% 0.082 340)

  5. Step 400

    400

    #D67EBA

    oklch(70.6% 0.132 340)

  6. Step 500

    500

    #C95AA9

    oklch(63.1% 0.168 340)

  7. Step 600

    600

    #B43C94

    oklch(55.6% 0.182 340)

  8. Step 700

    700

    #9A2D7E

    oklch(49% 0.169 339.9)

  9. Step 800

    800

    #7E2767

    oklch(42.8% 0.141 340)

  10. Step 900

    900 (this color)

    #662654

    oklch(37.9% 0.109 340)

  11. Step 950

    950

    #3C1731

    oklch(27.1% 0.069 340.2)

Export this scale for Tailwind in the Tailwind colors tool

#662654 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)#2938550.117
Deuteranopia (no green cones)#3C42520.104
Tritanopia (no blue cones)#6C27390.050
Achromatopsia (no color)#3E3E3E0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #662654

    #662654

    oklch(37.9% 0.109 340)

  • #005032

    #005032

    oklch(38.1% 0.086 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662654

    #662654

    oklch(37.9% 0.109 340)

  • #542E6D

    #542E6D

    oklch(38% 0.11 310)

  • #702335

    #702335

    oklch(38% 0.109 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #662654

    #662654

    oklch(37.9% 0.109 340)

  • #2F4C00

    #2F4C00

    oklch(37.9% 0.102 130.1)

  • #004D4A

    #004D4A

    oklch(37.9% 0.065 190.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662654

    #662654

    oklch(37.9% 0.109 340)

  • #4C4200

    #4C4200

    oklch(37.8% 0.078 99.5)

  • #004A5B

    #004A5B

    oklch(37.8% 0.069 219.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662654

    #662654

    oklch(37.9% 0.109 340)

  • #5D3900

    #5D3900

    oklch(37.9% 0.082 70.4)

  • #005032

    #005032

    oklch(38.1% 0.086 159.9)

  • #004478

    #004478

    oklch(38% 0.107 249.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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