#662C66

Closest named color: Grape Purple (#5D1451). oklch(39.7% 0.115 327.5), rgb(102, 44, 102).

Aa

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

About this color

#662C66 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.115 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.059 away. White text reads best on it, at 9.91:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.11:1
White text9.91:1

Values

HEX#662C66
RGBrgb(102, 44, 102)
HSLhsl(300, 40%, 29%)
OKLCHoklch(39.7% 0.115 327.5)

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 #662C66 9.91:1 AAA Lc -96.7 Preferred for body text
Black text on #662C66 2.11:1 Fails Lc 11.4 Not readable
#662C66 text on white 9.91:1 AAA Lc 92.6 Preferred for body text
#662C66 text on black 2.11:1 Fails Lc -9.9 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DFADDE

    oklch(80.8% 0.087 327)

  5. Step 400

    400

    #CE80CD

    oklch(70.8% 0.138 327.4)

  6. Step 500

    500

    #BF5CBF

    oklch(63% 0.176 327.4)

  7. Step 600

    600

    #AB3EAB

    oklch(55.7% 0.191 327.8)

  8. Step 700

    700

    #922F93

    oklch(49.1% 0.178 327.5)

  9. Step 800

    800

    #772877

    oklch(42.7% 0.148 327.8)

  10. Step 900

    900 (this color)

    #662C66

    oklch(39.7% 0.115 327.5)

  11. Step 950

    950

    #381738

    oklch(26.8% 0.073 327.4)

Export this scale for Tailwind in the Tailwind colors tool

#662C66 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)#263E680.115
Deuteranopia (no green cones)#3846640.102
Tritanopia (no blue cones)#6933440.066
Achromatopsia (no color)#4343430.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #662C66

    #662C66

    oklch(39.7% 0.115 327.5)

  • #02561E

    #02561E

    oklch(39.6% 0.114 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662C66

    #662C66

    oklch(39.7% 0.115 327.5)

  • #4F367C

    #4F367C

    oklch(39.8% 0.115 297.4)

  • #742647

    #742647

    oklch(39.7% 0.114 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #662C66

    #662C66

    oklch(39.7% 0.115 327.5)

  • #434D00

    #434D00

    oklch(39.7% 0.092 117.9)

  • #005346

    #005346

    oklch(39.6% 0.073 177.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662C66

    #662C66

    oklch(39.7% 0.115 327.5)

  • #594300

    #594300

    oklch(39.6% 0.081 87.3)

  • #00515A

    #00515A

    oklch(39.8% 0.068 207.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662C66

    #662C66

    oklch(39.7% 0.115 327.5)

  • #6C3700

    #6C3700

    oklch(39.7% 0.096 57.4)

  • #02561E

    #02561E

    oklch(39.6% 0.114 147.7)

  • #004D70

    #004D70

    oklch(39.8% 0.087 237.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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