#6C4C97

Closest named color: Twilight (#4E518B). oklch(48.5% 0.12 301.8), rgb(108, 76, 151).

Aa

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

About this color

#6C4C97 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.120 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.055 away. White text reads best on it, at 6.73:1.

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

Values

HEX#6C4C97
RGBrgb(108, 76, 151)
HSLhsl(266, 33%, 45%)
OKLCHoklch(48.5% 0.12 301.8)

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 #6C4C97 6.73:1 AA Lc -88.0 Fine for body text
Black text on #6C4C97 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#6C4C97 text on white 6.73:1 AA Lc 83.0 Fine for body text
#6C4C97 text on black 3.11:1 AA large text Lc -18.9 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

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DDD5EB

    oklch(88.6% 0.031 302.3)

  4. Step 300

    300

    #C7B8E1

    oklch(80.8% 0.059 301.8)

  5. Step 400

    400

    #AB93D1

    oklch(70.7% 0.092 301.8)

  6. Step 500

    500

    #9777C5

    oklch(63.1% 0.119 302)

  7. Step 600

    600

    #825FB2

    oklch(55.7% 0.129 301.8)

  8. Step 700

    700 (this color)

    #6C4C97

    oklch(48.5% 0.12 301.8)

  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

#6C4C97 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)#355B9A0.084
Deuteranopia (no green cones)#3D5B950.077
Tritanopia (no blue cones)#645A6A0.093
Achromatopsia (no color)#5C5C5C0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C4C97

    #6C4C97

    oklch(48.5% 0.12 301.8)

  • #556900

    #556900

    oklch(48.7% 0.118 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C4C97

    #6C4C97

    oklch(48.5% 0.12 301.8)

  • #4858A2

    #4858A2

    oklch(48.5% 0.12 272.1)

  • #85427D

    #85427D

    oklch(48.5% 0.12 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #6C4C97

    #6C4C97

    oklch(48.5% 0.12 301.8)

  • #735C00

    #735C00

    oklch(48.4% 0.099 91.8)

  • #14723B

    #14723B

    oklch(48.7% 0.12 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C4C97

    #6C4C97

    oklch(48.5% 0.12 301.8)

  • #8B4E00

    #8B4E00

    oklch(48.6% 0.112 62)

  • #006F63

    #006F63

    oklch(48.6% 0.087 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C4C97

    #6C4C97

    oklch(48.5% 0.12 301.8)

  • #974031

    #974031

    oklch(48.5% 0.12 31.7)

  • #556900

    #556900

    oklch(48.7% 0.118 121.8)

  • #006B7B

    #006B7B

    oklch(48.5% 0.085 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6C4C97 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.