#662F76

Closest named color: Rebecca Purple (#663399). oklch(41.1% 0.127 318.1), rgb(102, 47, 118).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.23:1
White text9.40:1

Values

HEX#662F76
RGBrgb(102, 47, 118)
HSLhsl(286, 43%, 32%)
OKLCHoklch(41.1% 0.127 318.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 #662F76 9.40:1 AAA Lc -95.6 Preferred for body text
Black text on #662F76 2.23:1 Fails Lc 12.7 Not readable
#662F76 text on white 9.40:1 AAA Lc 91.3 Preferred for body text
#662F76 text on black 2.23:1 Fails Lc -11.1 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

    #D5B2E0

    oklch(80.9% 0.074 318)

  5. Step 400

    400

    #BF88D0

    oklch(70.6% 0.118 318)

  6. Step 500

    500

    #AF68C4

    oklch(63.1% 0.152 318.2)

  7. Step 600

    600

    #9A4EB0

    oklch(55.7% 0.163 318.2)

  8. Step 700

    700

    #833E98

    oklch(49.1% 0.153 317.7)

  9. Step 800

    800 (this color)

    #662F76

    oklch(41.1% 0.127 318.1)

  10. Step 900

    900

    #572E63

    oklch(37.7% 0.099 318.2)

  11. Step 950

    950

    #331B3A

    oklch(26.9% 0.064 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#662F76 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)#1E43780.119
Deuteranopia (no green cones)#3248740.104
Tritanopia (no blue cones)#663A4E0.080
Achromatopsia (no color)#4646460.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #662F76

    #662F76

    oklch(41.1% 0.127 318.1)

  • #215900

    #215900

    oklch(41% 0.126 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662F76

    #662F76

    oklch(41.1% 0.127 318.1)

  • #493B8A

    #493B8A

    oklch(41.1% 0.126 287.6)

  • #792656

    #792656

    oklch(41.1% 0.127 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #662F76

    #662F76

    oklch(41.1% 0.127 318.1)

  • #4F4E00

    #4F4E00

    oklch(41.1% 0.089 108.9)

  • #005942

    #005942

    oklch(41.2% 0.084 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662F76

    #662F76

    oklch(41.1% 0.127 318.1)

  • #644400

    #644400

    oklch(41.2% 0.086 78.2)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662F76

    #662F76

    oklch(41.1% 0.127 318.1)

  • #793300

    #793300

    oklch(41.1% 0.112 48.1)

  • #215900

    #215900

    oklch(41% 0.126 137.9)

  • #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 #662F76, closest first.

Similar named colors

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

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