#662F68

Closest named color: Grape Purple (#5D1451). oklch(40.2% 0.112 326.1), rgb(102, 47, 104).

Aa

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

About this color

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

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

Values

HEX#662F68
RGBrgb(102, 47, 104)
HSLhsl(298, 38%, 30%)
OKLCHoklch(40.2% 0.112 326.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 #662F68 9.67:1 AAA Lc -96.3 Preferred for body text
Black text on #662F68 2.17:1 Fails Lc 11.9 Not readable
#662F68 text on white 9.67:1 AAA Lc 92.0 Preferred for body text
#662F68 text on black 2.17:1 Fails Lc -10.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 800.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D1E6

    oklch(88.4% 0.036 325.9)

  4. Step 300

    300

    #D7B2D8

    oklch(80.8% 0.066 325.3)

  5. Step 400

    400

    #C389C4

    oklch(70.7% 0.106 326.1)

  6. Step 500

    500

    #B26AB4

    oklch(63% 0.134 326.1)

  7. Step 600

    600

    #9D51A0

    oklch(55.6% 0.144 325.9)

  8. Step 700

    700

    #864189

    oklch(49.1% 0.134 325.8)

  9. Step 800

    800 (this color)

    #662F68

    oklch(40.2% 0.112 326.1)

  10. Step 900

    900

    #592F5A

    oklch(37.7% 0.088 326.3)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#662F68 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)#29406A0.109
Deuteranopia (no green cones)#3A47660.096
Tritanopia (no blue cones)#6936470.064
Achromatopsia (no color)#4444440.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #662F68

    #662F68

    oklch(40.2% 0.112 326.1)

  • #11571F

    #11571F

    oklch(40.1% 0.111 146.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662F68

    #662F68

    oklch(40.2% 0.112 326.1)

  • #4F387D

    #4F387D

    oklch(40.2% 0.113 296.3)

  • #74294A

    #74294A

    oklch(40.2% 0.111 356)

Open the analogous palette in the generator

Split complementary

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

  • #662F68

    #662F68

    oklch(40.2% 0.112 326.1)

  • #464E00

    #464E00

    oklch(40.3% 0.092 116.3)

  • #005547

    #005547

    oklch(40.2% 0.075 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662F68

    #662F68

    oklch(40.2% 0.112 326.1)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

  • #00535B

    #00535B

    oklch(40.4% 0.069 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662F68

    #662F68

    oklch(40.2% 0.112 326.1)

  • #6F3700

    #6F3700

    oklch(40.2% 0.099 55.8)

  • #11571F

    #11571F

    oklch(40.1% 0.111 146.2)

  • #004E70

    #004E70

    oklch(40.1% 0.086 236.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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