#664F94

Closest named color: Twilight (#4E518B). oklch(48.3% 0.11 297.5), rgb(102, 79, 148).

Aa

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

About this color

#664F94 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.110 and its hue 298°. 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 6.75:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.11:1
White text6.75:1

Values

HEX#664F94
RGBrgb(102, 79, 148)
HSLhsl(260, 30%, 45%)
OKLCHoklch(48.3% 0.11 297.5)

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 #664F94 6.75:1 AA Lc -88.1 Fine for body text
Black text on #664F94 3.11:1 AA large text Lc 20.9 Dividers and decoration only
#664F94 text on white 6.75:1 AA Lc 83.1 Fine for body text
#664F94 text on black 3.11:1 AA large text Lc -18.8 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

    #DBD5EB

    oklch(88.4% 0.031 298.2)

  4. Step 300

    300

    #C4BADF

    oklch(80.9% 0.053 297.6)

  5. Step 400

    400

    #A695CF

    oklch(70.6% 0.085 297.6)

  6. Step 500

    500

    #917BC3

    oklch(63.2% 0.108 297.3)

  7. Step 600

    600

    #7C63AF

    oklch(55.7% 0.117 297.6)

  8. Step 700

    700 (this color)

    #664F94

    oklch(48.3% 0.11 297.5)

  9. Step 800

    800

    #55437A

    oklch(42.7% 0.09 297.5)

  10. Step 900

    900

    #463962

    oklch(37.7% 0.07 297.6)

  11. Step 950

    950

    #29213A

    oklch(26.9% 0.047 297.9)

Export this scale for Tailwind in the Tailwind colors tool

#664F94 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)#3A5C970.068
Deuteranopia (no green cones)#3E5B920.064
Tritanopia (no blue cones)#5C5C6A0.088
Achromatopsia (no color)#5B5B5B0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #664F94

    #664F94

    oklch(48.3% 0.11 297.5)

  • #5A6605

    #5A6605

    oklch(48.3% 0.11 117.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664F94

    #664F94

    oklch(48.3% 0.11 297.5)

  • #435A9C

    #435A9C

    oklch(48.2% 0.11 267.7)

  • #7F467E

    #7F467E

    oklch(48.4% 0.11 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #664F94

    #664F94

    oklch(48.3% 0.11 297.5)

  • #765A00

    #765A00

    oklch(48.3% 0.099 87.5)

  • #2B6F38

    #2B6F38

    oklch(48.4% 0.11 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664F94

    #664F94

    oklch(48.3% 0.11 297.5)

  • #8B4C0E

    #8B4C0E

    oklch(48.3% 0.109 57.9)

  • #006E5E

    #006E5E

    oklch(48.2% 0.089 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664F94

    #664F94

    oklch(48.3% 0.11 297.5)

  • #92423B

    #92423B

    oklch(48.2% 0.11 27)

  • #5A6605

    #5A6605

    oklch(48.3% 0.11 117.6)

  • #006B76

    #006B76

    oklch(48.2% 0.083 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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