#664791

Closest named color: Twilight (#4E518B). oklch(46.6% 0.119 301.3), rgb(102, 71, 145).

Aa

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

About this color

#664791 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.119 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.047 away. White text reads best on it, at 7.30:1.

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

Values

HEX#664791
RGBrgb(102, 71, 145)
HSLhsl(265, 34%, 42%)
OKLCHoklch(46.6% 0.119 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 #664791 7.30:1 AAA Lc -90.0 Preferred for body text
Black text on #664791 2.87:1 Fails Lc 18.9 Dividers and decoration only
#664791 text on white 7.30:1 AAA Lc 85.2 Fine for body text
#664791 text on black 2.87:1 Fails Lc -16.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

    #EBE7F4

    oklch(93.5% 0.018 300.1)

  3. Step 200

    200

    #DCD5EB

    oklch(88.5% 0.031 300.3)

  4. Step 300

    300

    #C7B9E1

    oklch(81% 0.058 301.1)

  5. Step 400

    400

    #AA93D1

    oklch(70.6% 0.092 301.1)

  6. Step 500

    500

    #9677C5

    oklch(63% 0.118 301.4)

  7. Step 600

    600

    #815FB2

    oklch(55.6% 0.129 301.2)

  8. Step 700

    700 (this color)

    #664791

    oklch(46.6% 0.119 301.3)

  9. Step 800

    800

    #59407C

    oklch(42.7% 0.099 301.6)

  10. Step 900

    900

    #493764

    oklch(37.8% 0.077 301.2)

  11. Step 950

    950

    #2B203A

    oklch(26.9% 0.049 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#664791 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)#2F56940.083
Deuteranopia (no green cones)#37568F0.077
Tritanopia (no blue cones)#5E55650.092
Achromatopsia (no color)#5656560.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #664791

    #664791

    oklch(46.6% 0.119 301.3)

  • #516300

    #516300

    oklch(46.8% 0.112 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664791

    #664791

    oklch(46.6% 0.119 301.3)

  • #42539C

    #42539C

    oklch(46.6% 0.12 271.2)

  • #7F3D78

    #7F3D78

    oklch(46.7% 0.12 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #664791

    #664791

    oklch(46.6% 0.119 301.3)

  • #6E5700

    #6E5700

    oklch(46.7% 0.095 90.9)

  • #0E6C35

    #0E6C35

    oklch(46.7% 0.119 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664791

    #664791

    oklch(46.6% 0.119 301.3)

  • #844900

    #844900

    oklch(46.7% 0.108 61.3)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664791

    #664791

    oklch(46.6% 0.119 301.3)

  • #913B2D

    #913B2D

    oklch(46.7% 0.12 31.3)

  • #516300

    #516300

    oklch(46.8% 0.112 121.2)

  • #006574

    #006574

    oklch(46.5% 0.081 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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