#662F75

Closest named color: Rebecca Purple (#663399). oklch(41% 0.126 318.6), rgb(102, 47, 117).

Aa

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

About this color

#662F75 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.126 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.059 away. White text reads best on it, at 9.42:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.22:1
White text9.42:1

Values

HEX#662F75
RGBrgb(102, 47, 117)
HSLhsl(287, 43%, 32%)
OKLCHoklch(41% 0.126 318.6)

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 #662F75 9.42:1 AAA Lc -95.7 Preferred for body text
Black text on #662F75 2.22:1 Fails Lc 12.6 Not readable
#662F75 text on white 9.42:1 AAA Lc 91.3 Preferred for body text
#662F75 text on black 2.22:1 Fails Lc -11.0 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EB

    oklch(88.5% 0.041 318.4)

  4. Step 300

    300

    #D5B2DF

    oklch(80.9% 0.073 318.6)

  5. Step 400

    400

    #C088CF

    oklch(70.7% 0.118 319)

  6. Step 500

    500

    #AF69C3

    oklch(63.2% 0.149 318.4)

  7. Step 600

    600

    #9A4EAF

    oklch(55.6% 0.162 318.5)

  8. Step 700

    700

    #843E97

    oklch(49.2% 0.152 318.6)

  9. Step 800

    800 (this color)

    #662F75

    oklch(41% 0.126 318.6)

  10. Step 900

    900

    #572E62

    oklch(37.7% 0.098 318.8)

  11. Step 950

    950

    #331C3A

    oklch(27.1% 0.062 318)

Export this scale for Tailwind in the Tailwind colors tool

#662F75 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)#1F42770.118
Deuteranopia (no green cones)#3348730.103
Tritanopia (no blue cones)#663A4D0.080
Achromatopsia (no color)#4646460.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #662F75

    #662F75

    oklch(41% 0.126 318.6)

  • #205903

    #205903

    oklch(41% 0.125 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662F75

    #662F75

    oklch(41% 0.126 318.6)

  • #4A3B89

    #4A3B89

    oklch(41.1% 0.125 288.5)

  • #782655

    #782655

    oklch(40.9% 0.125 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #662F75

    #662F75

    oklch(41% 0.126 318.6)

  • #4F4E00

    #4F4E00

    oklch(41.1% 0.089 108.9)

  • #005842

    #005842

    oklch(40.9% 0.082 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662F75

    #662F75

    oklch(41% 0.126 318.6)

  • #634400

    #634400

    oklch(41.1% 0.085 79.1)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662F75

    #662F75

    oklch(41% 0.126 318.6)

  • #783300

    #783300

    oklch(41% 0.111 48.4)

  • #205903

    #205903

    oklch(41% 0.125 138.4)

  • #00526D

    #00526D

    oklch(41% 0.081 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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