#664A8E

Closest named color: Twilight (#4E518B). oklch(47% 0.11 301.3), rgb(102, 74, 142).

Aa

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

About this color

#664A8E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.110 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.042 away. White text reads best on it, at 7.15:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.93:1
White text7.15:1

Values

HEX#664A8E
RGBrgb(102, 74, 142)
HSLhsl(265, 31%, 42%)
OKLCHoklch(47% 0.11 301.3)

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 #664A8E 7.15:1 AAA Lc -89.6 Fine for body text
Black text on #664A8E 2.93:1 Fails Lc 19.4 Dividers and decoration only
#664A8E text on white 7.15:1 AAA Lc 84.7 Fine for body text
#664A8E text on black 2.93:1 Fails Lc -17.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DCD5EA

    oklch(88.5% 0.029 301)

  4. Step 300

    300

    #C6B9DE

    oklch(80.8% 0.053 301.2)

  5. Step 400

    400

    #AA94CE

    oklch(70.7% 0.086 301.6)

  6. Step 500

    500

    #9579C1

    oklch(63.1% 0.109 301.2)

  7. Step 600

    600

    #8061AD

    oklch(55.6% 0.118 301.5)

  8. Step 700

    700 (this color)

    #664A8E

    oklch(47% 0.11 301.3)

  9. Step 800

    800

    #584278

    oklch(42.7% 0.09 301.5)

  10. Step 900

    900

    #483861

    oklch(37.7% 0.071 301.1)

  11. Step 950

    950

    #2A2139

    oklch(27% 0.045 300.7)

Export this scale for Tailwind in the Tailwind colors tool

#664A8E 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)#3657900.074
Deuteranopia (no green cones)#3D578C0.068
Tritanopia (no blue cones)#5F56650.084
Achromatopsia (no color)#5858580.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #664A8E

    #664A8E

    oklch(47% 0.11 301.3)

  • #526407

    #526407

    oklch(47.2% 0.11 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664A8E

    #664A8E

    oklch(47% 0.11 301.3)

  • #455598

    #455598

    oklch(47% 0.11 271.5)

  • #7D4177

    #7D4177

    oklch(47% 0.11 331)

Open the analogous palette in the generator

Split complementary

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

  • #664A8E

    #664A8E

    oklch(47% 0.11 301.3)

  • #6F5800

    #6F5800

    oklch(47% 0.096 91.1)

  • #1D6C39

    #1D6C39

    oklch(47.1% 0.111 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664A8E

    #664A8E

    oklch(47% 0.11 301.3)

  • #854A00

    #854A00

    oklch(47% 0.109 61.6)

  • #006A5E

    #006A5E

    oklch(47% 0.084 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664A8E

    #664A8E

    oklch(47% 0.11 301.3)

  • #8E3F32

    #8E3F32

    oklch(46.9% 0.11 31.1)

  • #526407

    #526407

    oklch(47.2% 0.11 121.3)

  • #006775

    #006775

    oklch(47.1% 0.082 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #664A8E 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.