#6C1F79

Closest named color: Purple (#800080). oklch(40.2% 0.156 321.5), rgb(108, 31, 121).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.156)
Temperaturein between
Nearest namePurple (#800080)
Black text2.10:1
White text9.95:1

Values

HEX#6C1F79
RGBrgb(108, 31, 121)
HSLhsl(291, 59%, 30%)
OKLCHoklch(40.2% 0.156 321.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 #6C1F79 9.95:1 AAA Lc -96.4 Preferred for body text
Black text on #6C1F79 2.10:1 Fails Lc 11.8 Not readable
#6C1F79 text on white 9.95:1 AAA Lc 92.2 Preferred for body text
#6C1F79 text on black 2.10: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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EECCF3

    oklch(88.6% 0.064 322)

  4. Step 300

    300

    #E4A7EE

    oklch(80.9% 0.117 321.7)

  5. Step 400

    400

    #D473E5

    oklch(70.6% 0.187 321.5)

  6. Step 500

    500

    #C744DD

    oklch(63% 0.239 321.5)

  7. Step 600

    600

    #B30CCB

    oklch(55.6% 0.26 321.6)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D058E

    oklch(42.8% 0.2 321.7)

  10. Step 900

    900 (this color)

    #6C1F79

    oklch(40.2% 0.156 321.5)

  11. Step 950

    950

    #3B1043

    oklch(27% 0.099 321)

Export this scale for Tailwind in the Tailwind colors tool

#6C1F79 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)#003D7C0.158
Deuteranopia (no green cones)#2A45770.135
Tritanopia (no blue cones)#6D304A0.094
Achromatopsia (no color)#4343430.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C1F79

    #6C1F79

    oklch(40.2% 0.156 321.5)

  • #0B5800

    #0B5800

    oklch(40.1% 0.133 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C1F79

    #6C1F79

    oklch(40.2% 0.156 321.5)

  • #4D2F93

    #4D2F93

    oklch(40.2% 0.155 291.6)

  • #800E52

    #800E52

    oklch(40.1% 0.156 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #6C1F79

    #6C1F79

    oklch(40.2% 0.156 321.5)

  • #4A4C00

    #4A4C00

    oklch(40.1% 0.088 111.5)

  • #005543

    #005543

    oklch(40% 0.078 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C1F79

    #6C1F79

    oklch(40.2% 0.156 321.5)

  • #5E4300

    #5E4300

    oklch(40.2% 0.083 82.4)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C1F79

    #6C1F79

    oklch(40.2% 0.156 321.5)

  • #723400

    #723400

    oklch(40.1% 0.104 51.6)

  • #0B5800

    #0B5800

    oklch(40.1% 0.133 141.5)

  • #004F6C

    #004F6C

    oklch(40.1% 0.081 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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