#6D3171

Closest named color: Rebecca Purple (#663399). oklch(42% 0.122 325), rgb(109, 49, 113).

Aa

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

About this color

#6D3171 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.122 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.068 away. White text reads best on it, at 9.02:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.32:1
White text9.02:1

Values

HEX#6D3171
RGBrgb(109, 49, 113)
HSLhsl(296, 40%, 32%)
OKLCHoklch(42% 0.122 325)

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 #6D3171 9.02:1 AAA Lc -94.7 Preferred for body text
Black text on #6D3171 2.32:1 Fails Lc 13.7 Not readable
#6D3171 text on white 9.02:1 AAA Lc 90.3 Preferred for body text
#6D3171 text on black 2.32:1 Fails Lc -12.0 Not readable

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 800.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D1E8

    oklch(88.6% 0.039 324.6)

  4. Step 300

    300

    #D9B1DA

    oklch(80.9% 0.072 325.4)

  5. Step 400

    400

    #C587C8

    oklch(70.7% 0.115 325.1)

  6. Step 500

    500

    #B567B9

    oklch(63.1% 0.146 325.4)

  7. Step 600

    600

    #A04CA5

    oklch(55.5% 0.159 325.3)

  8. Step 700

    700

    #893D8E

    oklch(49.2% 0.148 325.1)

  9. Step 800

    800 (this color)

    #6D3171

    oklch(42% 0.122 325)

  10. Step 900

    900

    #5A2D5D

    oklch(37.6% 0.096 324.9)

  11. Step 950

    950

    #351B36

    oklch(27% 0.06 325.7)

Export this scale for Tailwind in the Tailwind colors tool

#6D3171 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)#2944730.119
Deuteranopia (no green cones)#3C4C6F0.106
Tritanopia (no blue cones)#6F394C0.071
Achromatopsia (no color)#4949490.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D3171

    #6D3171

    oklch(42% 0.122 325)

  • #105D1C

    #105D1C

    oklch(41.9% 0.122 145.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D3171

    #6D3171

    oklch(42% 0.122 325)

  • #533C87

    #533C87

    oklch(42% 0.121 294.8)

  • #7D2A50

    #7D2A50

    oklch(42% 0.122 355.3)

Open the analogous palette in the generator

Split complementary

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

  • #6D3171

    #6D3171

    oklch(42% 0.122 325)

  • #4C5300

    #4C5300

    oklch(42.1% 0.096 115.2)

  • #005B4B

    #005B4B

    oklch(42.1% 0.079 175.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D3171

    #6D3171

    oklch(42% 0.122 325)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

  • #005860

    #005860

    oklch(42% 0.072 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D3171

    #6D3171

    oklch(42% 0.122 325)

  • #773A00

    #773A00

    oklch(42% 0.105 54.5)

  • #105D1C

    #105D1C

    oklch(41.9% 0.122 145.1)

  • #005476

    #005476

    oklch(42.1% 0.089 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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