#6F51B4

Closest named color: Iris (#6258C4). oklch(51.5% 0.151 294.5), rgb(111, 81, 180).

Aa

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

About this color

#6F51B4 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.151 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.034 away. White text reads best on it, at 5.97:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.151)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.51:1
White text5.97:1

Values

HEX#6F51B4
RGBrgb(111, 81, 180)
HSLhsl(258, 40%, 51%)
OKLCHoklch(51.5% 0.151 294.5)

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 #6F51B4 5.97:1 AA Lc -84.8 Fine for body text
Black text on #6F51B4 3.51:1 AA large text Lc 24.4 Dividers and decoration only
#6F51B4 text on white 5.97:1 AA Lc 79.6 Fine for body text
#6F51B4 text on black 3.51:1 AA large text Lc -22.2 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400

    #A592E2

    oklch(70.8% 0.116 294.1)

  6. Step 500

    500

    #9074DA

    oklch(63% 0.15 294.3)

  7. Step 600

    600

    #7B5BC7

    oklch(55.6% 0.162 294.2)

  8. Step 700

    700 (this color)

    #6F51B4

    oklch(51.5% 0.151 294.5)

  9. Step 800

    800

    #553D8B

    oklch(42.7% 0.125 294.7)

  10. Step 900

    900

    #46356F

    oklch(37.7% 0.097 294.8)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#6F51B4 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)#2464B70.097
Deuteranopia (no green cones)#2C62B20.092
Tritanopia (no blue cones)#5E657B0.119
Achromatopsia (no color)#6363630.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F51B4

    #6F51B4

    oklch(51.5% 0.151 294.5)

  • #676E00

    #676E00

    oklch(51.5% 0.116 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F51B4

    #6F51B4

    oklch(51.5% 0.151 294.5)

  • #3B61BD

    #3B61BD

    oklch(51.5% 0.151 264.7)

  • #914397

    #914397

    oklch(51.6% 0.151 324.7)

Open the analogous palette in the generator

Split complementary

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

  • #6F51B4

    #6F51B4

    oklch(51.5% 0.151 294.5)

  • #846100

    #846100

    oklch(51.5% 0.106 83.8)

  • #1A7D26

    #1A7D26

    oklch(51.7% 0.152 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F51B4

    #6F51B4

    oklch(51.5% 0.151 294.5)

  • #9E4F00

    #9E4F00

    oklch(51.5% 0.128 54.5)

  • #007964

    #007964

    oklch(51.4% 0.097 174.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F51B4

    #6F51B4

    oklch(51.5% 0.151 294.5)

  • #AE3A39

    #AE3A39

    oklch(51.6% 0.152 24.6)

  • #676E00

    #676E00

    oklch(51.5% 0.116 114.1)

  • #00767F

    #00767F

    oklch(51.6% 0.088 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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