#6C2D7F

Closest named color: Rebecca Purple (#663399). oklch(42.2% 0.142 317.6), rgb(108, 45, 127).

Aa

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

About this color

#6C2D7F is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.142 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.045 away. White text reads best on it, at 9.05:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.142)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.31:1
White text9.05:1

Values

HEX#6C2D7F
RGBrgb(108, 45, 127)
HSLhsl(286, 48%, 34%)
OKLCHoklch(42.2% 0.142 317.6)

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 #6C2D7F 9.05:1 AAA Lc -94.7 Preferred for body text
Black text on #6C2D7F 2.31:1 Fails Lc 13.7 Not readable
#6C2D7F text on white 9.05:1 AAA Lc 90.2 Preferred for body text
#6C2D7F text on black 2.31:1 Fails Lc -12.1 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EE

    oklch(88.5% 0.047 317.1)

  4. Step 300

    300

    #D7B0E4

    oklch(80.9% 0.083 317.6)

  5. Step 400

    400

    #C285D7

    oklch(70.7% 0.133 317.1)

  6. Step 500

    500

    #B263CB

    oklch(63% 0.169 317.5)

  7. Step 600

    600

    #9E46B8

    oklch(55.6% 0.185 317.8)

  8. Step 700

    700

    #87379F

    oklch(49.2% 0.172 317.6)

  9. Step 800

    800 (this color)

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  10. Step 900

    900

    #592B67

    oklch(37.8% 0.11 317.8)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#6C2D7F 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)#1445820.136
Deuteranopia (no green cones)#304B7D0.118
Tritanopia (no blue cones)#6B3B520.090
Achromatopsia (no color)#4949490.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C2D7F

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  • #245D00

    #245D00

    oklch(42.3% 0.13 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C2D7F

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  • #4C3B95

    #4C3B95

    oklch(42.2% 0.142 287.4)

  • #81225C

    #81225C

    oklch(42.3% 0.143 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #6C2D7F

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  • #535000

    #535000

    oklch(42% 0.09 107.2)

  • #005C44

    #005C44

    oklch(42.2% 0.086 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C2D7F

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  • #684600

    #684600

    oklch(42.2% 0.088 77.2)

  • #00595B

    #00595B

    oklch(42.1% 0.072 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C2D7F

    #6C2D7F

    oklch(42.2% 0.142 317.6)

  • #7E3500

    #7E3500

    oklch(42.3% 0.115 47.8)

  • #245D00

    #245D00

    oklch(42.3% 0.13 137.6)

  • #005670

    #005670

    oklch(42.3% 0.081 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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