#6C2F87

Closest named color: Rebecca Purple (#663399). oklch(43% 0.148 313.9), rgb(108, 47, 135).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.148)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.39:1
White text8.77:1

Values

HEX#6C2F87
RGBrgb(108, 47, 135)
HSLhsl(282, 48%, 36%)
OKLCHoklch(43% 0.148 313.9)

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 #6C2F87 8.77:1 AAA Lc -94.0 Preferred for body text
Black text on #6C2F87 2.39:1 Fails Lc 14.5 Not readable
#6C2F87 text on white 8.77:1 AAA Lc 89.5 Fine for body text
#6C2F87 text on black 2.39:1 Fails Lc -12.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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300

    #D5B0E8

    oklch(80.8% 0.087 314.1)

  5. Step 400

    400

    #C085DD

    oklch(70.8% 0.139 314)

  6. Step 500

    500

    #AF63D3

    oklch(63.1% 0.177 313.8)

  7. Step 600

    600

    #9A46C0

    oklch(55.6% 0.192 313.6)

  8. Step 700

    700

    #8436A6

    oklch(49.1% 0.179 313.8)

  9. Step 800

    800 (this color)

    #6C2F87

    oklch(43% 0.148 313.9)

  10. Step 900

    900

    #572A6B

    oklch(37.6% 0.115 314.2)

  11. Step 950

    950

    #331A3F

    oklch(27.1% 0.072 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#6C2F87 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)#0A478A0.138
Deuteranopia (no green cones)#2B4C850.120
Tritanopia (no blue cones)#6A3F560.098
Achromatopsia (no color)#4B4B4B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C2F87

    #6C2F87

    oklch(43% 0.148 313.9)

  • #315D00

    #315D00

    oklch(42.9% 0.123 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C2F87

    #6C2F87

    oklch(43% 0.148 313.9)

  • #493E9C

    #493E9C

    oklch(43% 0.147 283.6)

  • #832363

    #832363

    oklch(43% 0.147 344.2)

Open the analogous palette in the generator

Split complementary

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

  • #6C2F87

    #6C2F87

    oklch(43% 0.148 313.9)

  • #585100

    #585100

    oklch(42.8% 0.09 103.8)

  • #005F42

    #005F42

    oklch(43% 0.092 164.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C2F87

    #6C2F87

    oklch(43% 0.148 313.9)

  • #6D4700

    #6D4700

    oklch(43% 0.091 74.3)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C2F87

    #6C2F87

    oklch(43% 0.148 313.9)

  • #853200

    #853200

    oklch(43% 0.125 43.8)

  • #315D00

    #315D00

    oklch(42.9% 0.123 133.8)

  • #005970

    #005970

    oklch(43.1% 0.08 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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