#6D51D4

Closest named color: Light Indigo (#6D5ACF). oklch(53.6% 0.192 288), rgb(109, 81, 212).

Aa

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

About this color

#6D51D4 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.192 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.022 away. White text reads best on it, at 5.55:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.192)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.77:1
White text5.55:1

Values

HEX#6D51D4
RGBrgb(109, 81, 212)
HSLhsl(253, 60%, 57%)
OKLCHoklch(53.6% 0.192 288)

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 #6D51D4 5.55:1 AA Lc -82.6 Fine for body text
Black text on #6D51D4 3.77:1 AA large text Lc 26.7 Dividers and decoration only
#6D51D4 text on white 5.55:1 AA Lc 77.3 Fine for body text
#6D51D4 text on black 3.77:1 AA large text Lc -24.4 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 600.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D7D5F8

    oklch(88.6% 0.048 288)

  4. Step 300

    300

    #BDB8F6

    oklch(80.8% 0.087 288)

  5. Step 400

    400

    #9D91F1

    oklch(70.7% 0.138 288.1)

  6. Step 500

    500

    #8772EC

    oklch(63% 0.177 288.2)

  7. Step 600

    600 (this color)

    #6D51D4

    oklch(53.6% 0.192 288)

  8. Step 700

    700

    #6046BE

    oklch(49.1% 0.179 287.9)

  9. Step 800

    800

    #4E3B99

    oklch(42.7% 0.147 287.8)

  10. Step 900

    900

    #40347A

    oklch(37.7% 0.115 287.5)

  11. Step 950

    950

    #251F47

    oklch(26.9% 0.072 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#6D51D4 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)#006BD80.104
Deuteranopia (no green cones)#0065D10.102
Tritanopia (no blue cones)#4A708B0.158
Achromatopsia (no color)#6868680.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D51D4

    #6D51D4

    oklch(53.6% 0.192 288)

  • #757200

    #757200

    oklch(53.7% 0.116 107.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D51D4

    #6D51D4

    oklch(53.6% 0.192 288)

  • #0B67DA

    #0B67DA

    oklch(53.6% 0.193 258.1)

  • #993DB4

    #993DB4

    oklch(53.6% 0.192 317.7)

Open the analogous palette in the generator

Split complementary

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

  • #6D51D4

    #6D51D4

    oklch(53.6% 0.192 288)

  • #916400

    #916400

    oklch(53.7% 0.112 77.9)

  • #338200

    #338200

    oklch(53.6% 0.166 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D51D4

    #6D51D4

    oklch(53.6% 0.192 288)

  • #AE4C00

    #AE4C00

    oklch(53.5% 0.146 47.8)

  • #008161

    #008161

    oklch(53.6% 0.109 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D51D4

    #6D51D4

    oklch(53.6% 0.192 288)

  • #C42541

    #C42541

    oklch(53.6% 0.192 17.9)

  • #757200

    #757200

    oklch(53.7% 0.116 107.9)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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