#6C1F7D

Closest named color: Purple (#800080). oklch(40.4% 0.16 319.7), rgb(108, 31, 125).

Aa

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

About this color

#6C1F7D is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.160 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.046 away. White text reads best on it, at 9.86:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.160)
Temperaturein between
Nearest namePurple (#800080)
Black text2.12:1
White text9.86:1

Values

HEX#6C1F7D
RGBrgb(108, 31, 125)
HSLhsl(289, 60%, 31%)
OKLCHoklch(40.4% 0.16 319.7)

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 #6C1F7D 9.86:1 AAA Lc -96.2 Preferred for body text
Black text on #6C1F7D 2.12:1 Fails Lc 12.0 Not readable
#6C1F7D text on white 9.86:1 AAA Lc 91.9 Preferred for body text
#6C1F7D text on black 2.12:1 Fails Lc -10.5 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

    #C980DA

    oklch(70.8% 0.148 319.9)

  6. Step 500

    500

    #BA5BD0

    oklch(63.2% 0.191 319.8)

  7. Step 600

    600

    #A53BBD

    oklch(55.6% 0.208 319.6)

  8. Step 700

    700

    #8D2CA3

    oklch(49.1% 0.193 319.5)

  9. Step 800

    800 (this color)

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  10. Step 900

    900

    #5D266A

    oklch(37.8% 0.124 319.5)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#6C1F7D 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)#003E800.157
Deuteranopia (no green cones)#27467B0.138
Tritanopia (no blue cones)#6C314C0.098
Achromatopsia (no color)#4343430.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C1F7D

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  • #185800

    #185800

    oklch(40.4% 0.129 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C1F7D

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  • #4B3097

    #4B3097

    oklch(40.5% 0.159 289.4)

  • #810D55

    #810D55

    oklch(40.4% 0.159 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #6C1F7D

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  • #4C4C00

    #4C4C00

    oklch(40.3% 0.088 109.8)

  • #005642

    #005642

    oklch(40.3% 0.08 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C1F7D

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  • #604300

    #604300

    oklch(40.5% 0.084 80.6)

  • #005457

    #005457

    oklch(40.5% 0.069 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C1F7D

    #6C1F7D

    oklch(40.4% 0.16 319.7)

  • #753300

    #753300

    oklch(40.5% 0.108 49.6)

  • #185800

    #185800

    oklch(40.4% 0.129 139.7)

  • #00506C

    #00506C

    oklch(40.4% 0.081 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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