#6E1F7E

Closest named color: Purple (#800080). oklch(40.8% 0.161 320.3), rgb(110, 31, 126).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.161)
Temperaturein between
Nearest namePurple (#800080)
Black text2.16:1
White text9.72:1

Values

HEX#6E1F7E
RGBrgb(110, 31, 126)
HSLhsl(290, 61%, 31%)
OKLCHoklch(40.8% 0.161 320.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 #6E1F7E 9.72:1 AAA Lc -95.9 Preferred for body text
Black text on #6E1F7E 2.16:1 Fails Lc 12.4 Not readable
#6E1F7E text on white 9.72:1 AAA Lc 91.6 Preferred for body text
#6E1F7E text on black 2.16:1 Fails Lc -10.8 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DCADE7

    oklch(80.9% 0.095 319.8)

  5. Step 400

    400

    #CA7FDA

    oklch(70.7% 0.151 320.4)

  6. Step 500

    500

    #BB5AD0

    oklch(63.1% 0.193 320.2)

  7. Step 600

    600

    #A63ABD

    oklch(55.6% 0.21 320.1)

  8. Step 700

    700

    #8E2AA3

    oklch(49% 0.195 320)

  9. Step 800

    800 (this color)

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  10. Step 900

    900

    #5E256A

    oklch(37.8% 0.126 320.3)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#6E1F7E 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)#003F810.160
Deuteranopia (no green cones)#28477C0.141
Tritanopia (no blue cones)#6E324D0.099
Achromatopsia (no color)#4444440.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E1F7E

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  • #155A00

    #155A00

    oklch(40.9% 0.133 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E1F7E

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  • #4D3099

    #4D3099

    oklch(40.8% 0.162 290)

  • #830C55

    #830C55

    oklch(40.7% 0.161 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #6E1F7E

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  • #4D4E00

    #4D4E00

    oklch(40.9% 0.09 110.6)

  • #005843

    #005843

    oklch(40.9% 0.081 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E1F7E

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  • #614400

    #614400

    oklch(40.8% 0.084 80.9)

  • #005559

    #005559

    oklch(40.9% 0.069 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E1F7E

    #6E1F7E

    oklch(40.8% 0.161 320.3)

  • #763400

    #763400

    oklch(40.8% 0.108 50)

  • #155A00

    #155A00

    oklch(40.9% 0.133 140.3)

  • #00516D

    #00516D

    oklch(40.7% 0.081 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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