#662C5F

Closest named color: Grape Purple (#5D1451). oklch(39.3% 0.108 332.2), rgb(102, 44, 95).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.09:1
White text10.04:1

Values

HEX#662C5F
RGBrgb(102, 44, 95)
HSLhsl(307, 40%, 29%)
OKLCHoklch(39.3% 0.108 332.2)

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 #662C5F 10.04:1 AAA Lc -97.0 Preferred for body text
Black text on #662C5F 2.09:1 Fails Lc 11.1 Not readable
#662C5F text on white 10.04:1 AAA Lc 92.9 Preferred for body text
#662C5F text on black 2.09:1 Fails Lc -9.6 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

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #ECCFE6

    oklch(88.5% 0.044 333)

  4. Step 300

    300

    #E1AED8

    oklch(81% 0.081 332.5)

  5. Step 400

    400

    #D081C4

    oklch(70.8% 0.13 332.5)

  6. Step 500

    500

    #C15EB5

    oklch(63.1% 0.165 332.1)

  7. Step 600

    600

    #AC40A1

    oklch(55.5% 0.181 331.9)

  8. Step 700

    700

    #94318A

    oklch(49.1% 0.169 332.1)

  9. Step 800

    800

    #782A70

    oklch(42.7% 0.139 332)

  10. Step 900

    900 (this color)

    #662C5F

    oklch(39.3% 0.108 332.2)

  11. Step 950

    950

    #391835

    oklch(27% 0.068 332)

Export this scale for Tailwind in the Tailwind colors tool

#662C5F 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)#2A3D610.110
Deuteranopia (no green cones)#3B455D0.098
Tritanopia (no blue cones)#6A30410.056
Achromatopsia (no color)#4242420.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #662C5F

    #662C5F

    oklch(39.3% 0.108 332.2)

  • #005528

    #005528

    oklch(39.4% 0.104 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662C5F

    #662C5F

    oklch(39.3% 0.108 332.2)

  • #513575

    #513575

    oklch(39.3% 0.107 301.9)

  • #722741

    #722741

    oklch(39.2% 0.109 2)

Open the analogous palette in the generator

Split complementary

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

  • #662C5F

    #662C5F

    oklch(39.3% 0.108 332.2)

  • #3D4D00

    #3D4D00

    oklch(39.2% 0.095 122.2)

  • #005249

    #005249

    oklch(39.4% 0.07 182.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662C5F

    #662C5F

    oklch(39.3% 0.108 332.2)

  • #554400

    #554400

    oklch(39.3% 0.08 92.6)

  • #004F5B

    #004F5B

    oklch(39.3% 0.068 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662C5F

    #662C5F

    oklch(39.3% 0.108 332.2)

  • #673900

    #673900

    oklch(39.3% 0.09 62.7)

  • #005528

    #005528

    oklch(39.4% 0.104 152)

  • #004A73

    #004A73

    oklch(39.2% 0.094 242.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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