#662867

Closest named color: Grape Purple (#5D1451). oklch(39.2% 0.123 327), rgb(102, 40, 103).

Aa

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

About this color

#662867 is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.123 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.054 away. White text reads best on it, at 10.17:1.

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

Values

HEX#662867
RGBrgb(102, 40, 103)
HSLhsl(299, 44%, 28%)
OKLCHoklch(39.2% 0.123 327)

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 #662867 10.17:1 AAA Lc -97.2 Preferred for body text
Black text on #662867 2.06:1 Fails Lc 10.9 Not readable
#662867 text on white 10.17:1 AAA Lc 93.1 Preferred for body text
#662867 text on black 2.06:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E1ACE0

    oklch(80.9% 0.092 327)

  5. Step 400

    400

    #D07DD0

    oklch(70.7% 0.148 327)

  6. Step 500

    500

    #C258C3

    oklch(63.1% 0.187 327.2)

  7. Step 600

    600

    #AD38B0

    oklch(55.6% 0.204 326.8)

  8. Step 700

    700

    #952897

    oklch(49.1% 0.191 327.2)

  9. Step 800

    800

    #79247B

    oklch(42.8% 0.158 326.9)

  10. Step 900

    900 (this color)

    #662867

    oklch(39.2% 0.123 327)

  11. Step 950

    950

    #39163A

    oklch(26.9% 0.078 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#662867 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)#203C690.124
Deuteranopia (no green cones)#3544650.108
Tritanopia (no blue cones)#6930430.070
Achromatopsia (no color)#4141410.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #662867

    #662867

    oklch(39.2% 0.123 327)

  • #00551A

    #00551A

    oklch(39.2% 0.117 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662867

    #662867

    oklch(39.2% 0.123 327)

  • #4E337E

    #4E337E

    oklch(39.3% 0.122 297)

  • #752146

    #752146

    oklch(39.2% 0.122 357.3)

Open the analogous palette in the generator

Split complementary

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

  • #662867

    #662867

    oklch(39.2% 0.123 327)

  • #434B00

    #434B00

    oklch(39.2% 0.09 116.5)

  • #005245

    #005245

    oklch(39.2% 0.073 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662867

    #662867

    oklch(39.2% 0.123 327)

  • #584200

    #584200

    oklch(39.2% 0.08 87)

  • #004F58

    #004F58

    oklch(39.1% 0.067 207.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662867

    #662867

    oklch(39.2% 0.123 327)

  • #6A3600

    #6A3600

    oklch(39.2% 0.094 57.6)

  • #00551A

    #00551A

    oklch(39.2% 0.117 146.9)

  • #004B6D

    #004B6D

    oklch(39.1% 0.085 237)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #662867 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.