#6E34A6

Closest named color: Rebecca Purple (#663399). oklch(46.1% 0.175 303.5), rgb(110, 52, 166).

Aa

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

About this color

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

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

Values

HEX#6E34A6
RGBrgb(110, 52, 166)
HSLhsl(271, 52%, 43%)
OKLCHoklch(46.1% 0.175 303.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 #6E34A6 7.76:1 AAA Lc -91.1 Preferred for body text
Black text on #6E34A6 2.70:1 Fails Lc 17.7 Dividers and decoration only
#6E34A6 text on white 7.76:1 AAA Lc 86.3 Fine for body text
#6E34A6 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F3

    oklch(88.4% 0.047 303.3)

  4. Step 300

    300

    #CCB4EE

    oklch(81% 0.084 303.5)

  5. Step 400

    400

    #B28AE5

    oklch(70.6% 0.135 303.4)

  6. Step 500

    500

    #A06ADE

    oklch(63.2% 0.173 303.3)

  7. Step 600

    600

    #8C4ECB

    oklch(55.7% 0.188 303.7)

  8. Step 700

    700 (this color)

    #6E34A6

    oklch(46.1% 0.175 303.5)

  9. Step 800

    800

    #60348E

    oklch(42.6% 0.144 303.3)

  10. Step 900

    900

    #4F2F72

    oklch(37.9% 0.113 303.5)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#6E34A6 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)#0051A90.134
Deuteranopia (no green cones)#0052A40.135
Tritanopia (no blue cones)#634E690.128
Achromatopsia (no color)#5252520.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E34A6

    #6E34A6

    oklch(46.1% 0.175 303.5)

  • #4C6200

    #4C6200

    oklch(46.1% 0.114 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E34A6

    #6E34A6

    oklch(46.1% 0.175 303.5)

  • #3D47B8

    #3D47B8

    oklch(46.1% 0.176 273.4)

  • #8D2280

    #8D2280

    oklch(46.1% 0.175 333.5)

Open the analogous palette in the generator

Split complementary

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

  • #6E34A6

    #6E34A6

    oklch(46.1% 0.175 303.5)

  • #6A5600

    #6A5600

    oklch(46% 0.094 93.2)

  • #006A37

    #006A37

    oklch(46% 0.117 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E34A6

    #6E34A6

    oklch(46.1% 0.175 303.5)

  • #804900

    #804900

    oklch(46.1% 0.105 63.5)

  • #00675D

    #00675D

    oklch(46.1% 0.082 183.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E34A6

    #6E34A6

    oklch(46.1% 0.175 303.5)

  • #A12000

    #A12000

    oklch(46.1% 0.168 33.4)

  • #4C6200

    #4C6200

    oklch(46.1% 0.114 123.5)

  • #006473

    #006473

    oklch(46.2% 0.081 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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