#6D51DB

Closest named color: Light Indigo (#6D5ACF). oklch(54.2% 0.201 287), rgb(109, 81, 219).

Aa

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

About this color

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

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

Values

HEX#6D51DB
RGBrgb(109, 81, 219)
HSLhsl(252, 66%, 59%)
OKLCHoklch(54.2% 0.201 287)

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 #6D51DB 5.45:1 AA Lc -82.0 Fine for body text
Black text on #6D51DB 3.85:1 AA large text Lc 27.4 Dividers and decoration only
#6D51DB text on white 5.45:1 AA Lc 76.7 Fine for body text
#6D51DB text on black 3.85:1 AA large text Lc -25.0 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

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300

    #BCB8F9

    oklch(80.9% 0.091 287)

  5. Step 400

    400

    #9B91F5

    oklch(70.7% 0.144 286.7)

  6. Step 500

    500

    #8571F1

    oklch(63% 0.185 287)

  7. Step 600

    600 (this color)

    #6D51DB

    oklch(54.2% 0.201 287)

  8. Step 700

    700

    #5F45C2

    oklch(49.1% 0.186 287)

  9. Step 800

    800

    #4D399D

    oklch(42.6% 0.155 287.1)

  10. Step 900

    900

    #40337D

    oklch(37.8% 0.12 287.2)

  11. Step 950

    950

    #251F49

    oklch(27.1% 0.075 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#6D51DB 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)#006DDF0.104
Deuteranopia (no green cones)#0066D80.101
Tritanopia (no blue cones)#45728F0.165
Achromatopsia (no color)#6969690.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D51DB

    #6D51DB

    oklch(54.2% 0.201 287)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D51DB

    #6D51DB

    oklch(54.2% 0.201 287)

  • #006ADB

    #006ADB

    oklch(54.2% 0.191 256.9)

  • #9C3BBA

    #9C3BBA

    oklch(54.2% 0.201 317.1)

Open the analogous palette in the generator

Split complementary

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

  • #6D51DB

    #6D51DB

    oklch(54.2% 0.201 287)

  • #946500

    #946500

    oklch(54.3% 0.114 76.9)

  • #398300

    #398300

    oklch(54.1% 0.164 137)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D51DB

    #6D51DB

    oklch(54.2% 0.201 287)

  • #B24C00

    #B24C00

    oklch(54.1% 0.15 46.8)

  • #008361

    #008361

    oklch(54.1% 0.111 166.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D51DB

    #6D51DB

    oklch(54.2% 0.201 287)

  • #C91F43

    #C91F43

    oklch(54.2% 0.201 17)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

  • #007F82

    #007F82

    oklch(54.1% 0.092 197.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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