#6B2178

Closest named color: Purple (#800080). oklch(40.2% 0.152 321.3), rgb(107, 33, 120).

Aa

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

About this color

#6B2178 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.152 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.050 away. White text reads best on it, at 9.93:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.152)
Temperaturein between
Nearest namePurple (#800080)
Black text2.11:1
White text9.93:1

Values

HEX#6B2178
RGBrgb(107, 33, 120)
HSLhsl(291, 57%, 30%)
OKLCHoklch(40.2% 0.152 321.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 #6B2178 9.93:1 AAA Lc -96.4 Preferred for body text
Black text on #6B2178 2.11:1 Fails Lc 11.8 Not readable
#6B2178 text on white 9.93:1 AAA Lc 92.2 Preferred for body text
#6B2178 text on black 2.11: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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E3A8ED

    oklch(80.9% 0.114 321.5)

  5. Step 400

    400

    #D375E4

    oklch(70.7% 0.182 321.3)

  6. Step 500

    500

    #C648DC

    oklch(63.2% 0.233 321.4)

  7. Step 600

    600

    #B118C9

    oklch(55.6% 0.253 321.3)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7B0C8D

    oklch(42.6% 0.195 321.1)

  10. Step 900

    900 (this color)

    #6B2178

    oklch(40.2% 0.152 321.3)

  11. Step 950

    950

    #3B1142

    oklch(27.1% 0.097 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#6B2178 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)#003E7A0.156
Deuteranopia (no green cones)#2B45760.131
Tritanopia (no blue cones)#6C314A0.093
Achromatopsia (no color)#4343430.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B2178

    #6B2178

    oklch(40.2% 0.152 321.3)

  • #0D5800

    #0D5800

    oklch(40.1% 0.133 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B2178

    #6B2178

    oklch(40.2% 0.152 321.3)

  • #4C3092

    #4C3092

    oklch(40.1% 0.153 291.1)

  • #7F1252

    #7F1252

    oklch(40.2% 0.153 351)

Open the analogous palette in the generator

Split complementary

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

  • #6B2178

    #6B2178

    oklch(40.2% 0.152 321.3)

  • #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.

  • #6B2178

    #6B2178

    oklch(40.2% 0.152 321.3)

  • #5F4200

    #5F4200

    oklch(40.1% 0.083 80.2)

  • #005357

    #005357

    oklch(40.2% 0.068 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B2178

    #6B2178

    oklch(40.2% 0.152 321.3)

  • #723400

    #723400

    oklch(40.1% 0.104 51.6)

  • #0D5800

    #0D5800

    oklch(40.1% 0.133 141.3)

  • #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 #6B2178, closest first.

Similar named colors

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

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