#662164

Closest named color: Grape Purple (#5D1451). oklch(38.1% 0.131 329), rgb(102, 33, 100).

Aa

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

About this color

#662164 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.131 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.043 away. White text reads best on it, at 10.67:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.96:1
White text10.67:1

Values

HEX#662164
RGBrgb(102, 33, 100)
HSLhsl(302, 51%, 26%)
OKLCHoklch(38.1% 0.131 329)

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 #662164 10.67:1 AAA Lc -98.0 Preferred for body text
Black text on #662164 1.96:1 Fails Lc 9.9 Not readable
#662164 text on white 10.67:1 AAA Lc 94.0 Preferred for body text
#662164 text on black 1.96:1 Fails Lc -8.5 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F3

    oklch(93.5% 0.029 329.3)

  3. Step 200

    200

    #EECDEB

    oklch(88.5% 0.054 328.9)

  4. Step 300

    300

    #E4AAE0

    oklch(80.9% 0.098 328.7)

  5. Step 400

    400

    #D57AD0

    oklch(70.8% 0.156 329.1)

  6. Step 500

    500

    #C852C4

    oklch(63.2% 0.201 329)

  7. Step 600

    600

    #B32EB0

    oklch(55.6% 0.218 329)

  8. Step 700

    700

    #991E97

    oklch(49% 0.202 328.9)

  9. Step 800

    800

    #7D1D7B

    oklch(42.8% 0.168 328.9)

  10. Step 900

    900 (this color)

    #662164

    oklch(38.1% 0.131 329)

  11. Step 950

    950

    #3B143A

    oklch(27% 0.083 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#662164 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)#1A38660.136
Deuteranopia (no green cones)#3341620.117
Tritanopia (no blue cones)#6A293F0.072
Achromatopsia (no color)#3E3E3E0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #662164

    #662164

    oklch(38.1% 0.131 329)

  • #00511F

    #00511F

    oklch(38% 0.107 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662164

    #662164

    oklch(38.1% 0.131 329)

  • #4E2D7D

    #4E2D7D

    oklch(38.2% 0.13 299.1)

  • #751841

    #751841

    oklch(38.1% 0.131 359)

Open the analogous palette in the generator

Split complementary

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

  • #662164

    #662164

    oklch(38.1% 0.131 329)

  • #3E4900

    #3E4900

    oklch(38.2% 0.09 119)

  • #004F43

    #004F43

    oklch(38.3% 0.07 178)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662164

    #662164

    oklch(38.1% 0.131 329)

  • #534000

    #534000

    oklch(38.1% 0.078 89.6)

  • #004C55

    #004C55

    oklch(38.1% 0.066 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662164

    #662164

    oklch(38.1% 0.131 329)

  • #653400

    #653400

    oklch(38.1% 0.091 58.5)

  • #00511F

    #00511F

    oklch(38% 0.107 149)

  • #00486B

    #00486B

    oklch(38.2% 0.086 238.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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