#6A478E

Closest named color: Twilight (#4E518B). oklch(46.9% 0.116 305.1), rgb(106, 71, 142).

Aa

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

About this color

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

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

Values

HEX#6A478E
RGBrgb(106, 71, 142)
HSLhsl(270, 33%, 42%)
OKLCHoklch(46.9% 0.116 305.1)

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 #6A478E 7.22:1 AAA Lc -89.8 Fine for body text
Black text on #6A478E 2.90:1 Fails Lc 19.1 Dividers and decoration only
#6A478E text on white 7.22:1 AAA Lc 84.9 Fine for body text
#6A478E text on black 2.90:1 Fails Lc -17.1 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

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #C9B8DE

    oklch(80.9% 0.056 305.4)

  5. Step 400

    400

    #AE92CE

    oklch(70.7% 0.091 305.5)

  6. Step 500

    500

    #9A77C1

    oklch(63.2% 0.114 305.1)

  7. Step 600

    600

    #855EAD

    oklch(55.6% 0.125 305.5)

  8. Step 700

    700 (this color)

    #6A478E

    oklch(46.9% 0.116 305.1)

  9. Step 800

    800

    #5B4079

    oklch(42.7% 0.096 304.5)

  10. Step 900

    900

    #4B3661

    oklch(37.6% 0.075 305.6)

  11. Step 950

    950

    #2C2039

    oklch(27% 0.048 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#6A478E 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)#3356900.086
Deuteranopia (no green cones)#3C578C0.079
Tritanopia (no blue cones)#6453640.085
Achromatopsia (no color)#5757570.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A478E

    #6A478E

    oklch(46.9% 0.116 305.1)

  • #4C6504

    #4C6504

    oklch(46.9% 0.116 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A478E

    #6A478E

    oklch(46.9% 0.116 305.1)

  • #49539B

    #49539B

    oklch(47% 0.116 275.1)

  • #813E74

    #813E74

    oklch(46.9% 0.116 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #6A478E

    #6A478E

    oklch(46.9% 0.116 305.1)

  • #6B5900

    #6B5900

    oklch(46.8% 0.096 95.3)

  • #006D3C

    #006D3C

    oklch(47% 0.116 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A478E

    #6A478E

    oklch(46.9% 0.116 305.1)

  • #824C00

    #824C00

    oklch(46.9% 0.105 65.1)

  • #006961

    #006961

    oklch(46.9% 0.082 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A478E

    #6A478E

    oklch(46.9% 0.116 305.1)

  • #903E2A

    #903E2A

    oklch(47% 0.116 34.9)

  • #4C6504

    #4C6504

    oklch(46.9% 0.116 124.9)

  • #006677

    #006677

    oklch(46.9% 0.083 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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