#6A4DCB

Closest named color: Slate Blue (#6A5ACD). oklch(52.1% 0.186 288.8), rgb(106, 77, 203).

Aa

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

About this color

#6A4DCB is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.186 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.029 away. White text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.186)
Temperaturecool
Nearest nameSlate Blue (#6A5ACD)
Black text3.53:1
White text5.93:1

Values

HEX#6A4DCB
RGBrgb(106, 77, 203)
HSLhsl(254, 55%, 55%)
OKLCHoklch(52.1% 0.186 288.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 #6A4DCB 5.93:1 AA Lc -84.5 Fine for body text
Black text on #6A4DCB 3.53:1 AA large text Lc 24.8 Dividers and decoration only
#6A4DCB text on white 5.93:1 AA Lc 79.2 Fine for body text
#6A4DCB text on black 3.53:1 AA large text Lc -22.6 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB8F8

    oklch(81% 0.09 288.5)

  5. Step 400

    400

    #9E90F4

    oklch(70.7% 0.144 288.6)

  6. Step 500

    500

    #8970F0

    oklch(63.1% 0.185 289)

  7. Step 600

    600

    #7454DE

    oklch(55.5% 0.2 288.8)

  8. Step 700

    700 (this color)

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  9. Step 800

    800

    #50399C

    oklch(42.8% 0.154 288.9)

  10. Step 900

    900

    #42327C

    oklch(37.7% 0.12 289.3)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#6A4DCB 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)#0066CF0.103
Deuteranopia (no green cones)#0061C80.102
Tritanopia (no blue cones)#4A6B850.153
Achromatopsia (no color)#6464640.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A4DCB

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  • #6F6E00

    #6F6E00

    oklch(52.2% 0.113 109.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A4DCB

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  • #1362D1

    #1362D1

    oklch(51.9% 0.186 258.9)

  • #943AAB

    #943AAB

    oklch(52% 0.185 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #6A4DCB

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  • #8A6000

    #8A6000

    oklch(52% 0.108 78.8)

  • #2C7E00

    #2C7E00

    oklch(52.2% 0.164 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A4DCB

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  • #A64A00

    #A64A00

    oklch(52% 0.14 48.8)

  • #007C5E

    #007C5E

    oklch(52.1% 0.105 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A4DCB

    #6A4DCB

    oklch(52.1% 0.186 288.8)

  • #BC243C

    #BC243C

    oklch(52% 0.186 18.9)

  • #6F6E00

    #6F6E00

    oklch(52.2% 0.113 109.1)

  • #00787C

    #00787C

    oklch(52% 0.088 198.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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