#6B278D

Closest named color: Rebecca Purple (#663399). oklch(42.3% 0.165 311.9), rgb(107, 39, 141).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.165)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.29:1
White text9.13:1

Values

HEX#6B278D
RGBrgb(107, 39, 141)
HSLhsl(280, 57%, 35%)
OKLCHoklch(42.3% 0.165 311.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 #6B278D 9.13:1 AAA Lc -94.7 Preferred for body text
Black text on #6B278D 2.29:1 Fails Lc 13.8 Not readable
#6B278D text on white 9.13:1 AAA Lc 90.2 Preferred for body text
#6B278D text on black 2.29: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D6AFEE

    oklch(81% 0.096 312.3)

  5. Step 400

    400

    #C082E5

    oklch(70.7% 0.153 311.8)

  6. Step 500

    500

    #B05DDE

    oklch(63% 0.198 311.7)

  7. Step 600

    600

    #9C3ECB

    oklch(55.6% 0.214 312)

  8. Step 700

    700

    #852EB0

    oklch(49.1% 0.199 311.8)

  9. Step 800

    800 (this color)

    #6B278D

    oklch(42.3% 0.165 311.9)

  10. Step 900

    900

    #582772

    oklch(37.8% 0.129 311.9)

  11. Step 950

    950

    #331843

    oklch(27% 0.082 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#6B278D 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)#0045900.145
Deuteranopia (no green cones)#1B498B0.136
Tritanopia (no blue cones)#673D570.111
Achromatopsia (no color)#4848480.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B278D

    #6B278D

    oklch(42.3% 0.165 311.9)

  • #345A00

    #345A00

    oklch(42.2% 0.117 132)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B278D

    #6B278D

    oklch(42.3% 0.165 311.9)

  • #4538A3

    #4538A3

    oklch(42.2% 0.165 282.2)

  • #841566

    #841566

    oklch(42.2% 0.165 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #6B278D

    #6B278D

    oklch(42.3% 0.165 311.9)

  • #584F00

    #584F00

    oklch(42.3% 0.089 101.9)

  • #005D3E

    #005D3E

    oklch(42.3% 0.093 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B278D

    #6B278D

    oklch(42.3% 0.165 311.9)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

  • #005A58

    #005A58

    oklch(42.3% 0.073 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B278D

    #6B278D

    oklch(42.3% 0.165 311.9)

  • #842E00

    #842E00

    oklch(42.3% 0.128 41.9)

  • #345A00

    #345A00

    oklch(42.2% 0.117 132)

  • #00576C

    #00576C

    oklch(42.3% 0.078 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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