#6D31AE

Closest named color: Rebecca Purple (#663399). oklch(46.2% 0.188 301.2), rgb(109, 49, 174).

Aa

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

About this color

#6D31AE is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.188 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.036 away. White text reads best on it, at 7.77:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.188)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.70:1
White text7.77:1

Values

HEX#6D31AE
RGBrgb(109, 49, 174)
HSLhsl(269, 56%, 44%)
OKLCHoklch(46.2% 0.188 301.2)

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 #6D31AE 7.77:1 AAA Lc -91.0 Preferred for body text
Black text on #6D31AE 2.70:1 Fails Lc 17.8 Dividers and decoration only
#6D31AE text on white 7.77:1 AAA Lc 86.2 Fine for body text
#6D31AE text on black 2.70:1 Fails Lc -15.8 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DED2F6

    oklch(88.5% 0.051 300.6)

  4. Step 300

    300

    #CAB3F2

    oklch(80.8% 0.091 301.1)

  5. Step 400

    400

    #B189EC

    oklch(70.7% 0.145 301.4)

  6. Step 500

    500

    #9E68E6

    oklch(63.1% 0.185 301)

  7. Step 600

    600

    #8A4BD4

    oklch(55.7% 0.202 301.2)

  8. Step 700

    700 (this color)

    #6D31AE

    oklch(46.2% 0.188 301.2)

  9. Step 800

    800

    #5F3295

    oklch(42.8% 0.156 300.9)

  10. Step 900

    900

    #4E2D76

    oklch(37.7% 0.121 301.7)

  11. Step 950

    950

    #2D1B45

    oklch(26.9% 0.077 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#6D31AE 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)#0052B20.133
Deuteranopia (no green cones)#0052AB0.134
Tritanopia (no blue cones)#5F4F6C0.138
Achromatopsia (no color)#5252520.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D31AE

    #6D31AE

    oklch(46.2% 0.188 301.2)

  • #506100

    #506100

    oklch(46.2% 0.111 120.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D31AE

    #6D31AE

    oklch(46.2% 0.188 301.2)

  • #3747BF

    #3747BF

    oklch(46.3% 0.187 271.1)

  • #8F1B87

    #8F1B87

    oklch(46.3% 0.188 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #6D31AE

    #6D31AE

    oklch(46.2% 0.188 301.2)

  • #6C5600

    #6C5600

    oklch(46.2% 0.095 91.5)

  • #006B32

    #006B32

    oklch(46.2% 0.124 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D31AE

    #6D31AE

    oklch(46.2% 0.188 301.2)

  • #824800

    #824800

    oklch(46.2% 0.107 61.4)

  • #00675B

    #00675B

    oklch(46.1% 0.083 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D31AE

    #6D31AE

    oklch(46.2% 0.188 301.2)

  • #A61500

    #A61500

    oklch(46.3% 0.179 31.2)

  • #506100

    #506100

    oklch(46.2% 0.111 120.8)

  • #006472

    #006472

    oklch(46.2% 0.08 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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