#6C3397

Closest named color: Rebecca Purple (#663399). oklch(44.6% 0.16 307.3), rgb(108, 51, 151).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.160)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.55:1
White text8.20:1

Values

HEX#6C3397
RGBrgb(108, 51, 151)
HSLhsl(274, 50%, 40%)
OKLCHoklch(44.6% 0.16 307.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 #6C3397 8.20:1 AAA Lc -92.5 Preferred for body text
Black text on #6C3397 2.55:1 Fails Lc 16.2 Dividers and decoration only
#6C3397 text on white 8.20:1 AAA Lc 87.8 Fine for body text
#6C3397 text on black 2.55:1 Fails Lc -14.3 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D1B1F0

    oklch(81% 0.093 307.5)

  5. Step 400

    400

    #B985E8

    oklch(70.6% 0.149 307.2)

  6. Step 500

    500

    #A862E1

    oklch(63% 0.191 307.2)

  7. Step 600

    600

    #9444CF

    oklch(55.6% 0.208 307.3)

  8. Step 700

    700

    #7E34B3

    oklch(49% 0.193 307.3)

  9. Step 800

    800 (this color)

    #6C3397

    oklch(44.6% 0.16 307.3)

  10. Step 900

    900

    #532A74

    oklch(37.7% 0.125 306.9)

  11. Step 950

    950

    #311A44

    oklch(27.1% 0.078 307.2)

Export this scale for Tailwind in the Tailwind colors tool

#6C3397 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)#004D9A0.135
Deuteranopia (no green cones)#1E4F950.124
Tritanopia (no blue cones)#6548600.114
Achromatopsia (no color)#4F4F4F0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C3397

    #6C3397

    oklch(44.6% 0.16 307.3)

  • #425F00

    #425F00

    oklch(44.6% 0.116 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C3397

    #6C3397

    oklch(44.6% 0.16 307.3)

  • #4344AA

    #4344AA

    oklch(44.7% 0.16 277.4)

  • #872473

    #872473

    oklch(44.6% 0.16 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #6C3397

    #6C3397

    oklch(44.6% 0.16 307.3)

  • #625400

    #625400

    oklch(44.6% 0.092 98)

  • #00653C

    #00653C

    oklch(44.6% 0.106 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C3397

    #6C3397

    oklch(44.6% 0.16 307.3)

  • #784800

    #784800

    oklch(44.8% 0.099 67.4)

  • #00625C

    #00625C

    oklch(44.7% 0.078 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C3397

    #6C3397

    oklch(44.6% 0.16 307.3)

  • #942A00

    #942A00

    oklch(44.6% 0.148 37.4)

  • #425F00

    #425F00

    oklch(44.6% 0.116 127.4)

  • #005E71

    #005E71

    oklch(44.5% 0.08 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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