#6A1E7E

Closest named color: Purple (#800080). oklch(40.1% 0.161 318.3), rgb(106, 30, 126).

Aa

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

About this color

#6A1E7E is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.161 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.049 away. White text reads best on it, at 10.00:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.161)
Temperaturein between
Nearest namePurple (#800080)
Black text2.09:1
White text10.00:1

Values

HEX#6A1E7E
RGBrgb(106, 30, 126)
HSLhsl(288, 62%, 31%)
OKLCHoklch(40.1% 0.161 318.3)

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 #6A1E7E 10.00:1 AAA Lc -96.5 Preferred for body text
Black text on #6A1E7E 2.09:1 Fails Lc 11.7 Not readable
#6A1E7E text on white 10.00:1 AAA Lc 92.2 Preferred for body text
#6A1E7E text on black 2.09:1 Fails Lc -10.2 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 900.

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #ECCCF6

    oklch(88.5% 0.066 318.1)

  4. Step 300

    300

    #E1A7F3

    oklch(80.8% 0.121 318)

  5. Step 400

    400

    #D173ED

    oklch(70.7% 0.193 318)

  6. Step 500

    500

    #C443E6

    oklch(63.1% 0.247 318.3)

  7. Step 600

    600

    #B003D4

    oklch(55.6% 0.268 318.4)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900 (this color)

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  11. Step 950

    950

    #3A1045

    oklch(27% 0.101 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#6A1E7E 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)#003D810.154
Deuteranopia (no green cones)#23457C0.139
Tritanopia (no blue cones)#69324C0.102
Achromatopsia (no color)#4242420.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A1E7E

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A1E7E

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  • #492F97

    #492F97

    oklch(40.1% 0.161 288.5)

  • #800A56

    #800A56

    oklch(40.1% 0.161 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #6A1E7E

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

  • #005640

    #005640

    oklch(40.3% 0.081 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A1E7E

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #005355

    #005355

    oklch(40.1% 0.068 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A1E7E

    #6A1E7E

    oklch(40.1% 0.161 318.3)

  • #753100

    #753100

    oklch(40.1% 0.109 48)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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