#6B2171

Closest named color: Rich Purple (#720058). oklch(39.7% 0.146 324.7), rgb(107, 33, 113).

Aa

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

About this color

#6B2171 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.146 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.053 away. White text reads best on it, at 10.09:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.146)
Temperaturein between
Nearest nameRich Purple (#720058)
Black text2.08:1
White text10.09:1

Values

HEX#6B2171
RGBrgb(107, 33, 113)
HSLhsl(296, 55%, 29%)
OKLCHoklch(39.7% 0.146 324.7)

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 #6B2171 10.09:1 AAA Lc -96.8 Preferred for body text
Black text on #6B2171 2.08:1 Fails Lc 11.4 Not readable
#6B2171 text on white 10.09:1 AAA Lc 92.6 Preferred for body text
#6B2171 text on black 2.08:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EECCF0

    oklch(88.5% 0.061 324.3)

  4. Step 300

    300

    #E4A8E8

    oklch(80.8% 0.109 324.4)

  5. Step 400

    400

    #D576DC

    oklch(70.7% 0.174 324.7)

  6. Step 500

    500

    #C84AD2

    oklch(63.1% 0.223 324.7)

  7. Step 600

    600

    #B31FBF

    oklch(55.6% 0.242 324.6)

  8. Step 700

    700

    #9A09A5

    oklch(49.1% 0.226 324.6)

  9. Step 800

    800

    #7D1286

    oklch(42.7% 0.187 324.5)

  10. Step 900

    900 (this color)

    #6B2171

    oklch(39.7% 0.146 324.7)

  11. Step 950

    950

    #3B123F

    oklch(27% 0.092 324.1)

Export this scale for Tailwind in the Tailwind colors tool

#6B2171 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)#0E3C730.151
Deuteranopia (no green cones)#30456F0.128
Tritanopia (no blue cones)#6D2E460.085
Achromatopsia (no color)#4242420.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B2171

    #6B2171

    oklch(39.7% 0.146 324.7)

  • #005711

    #005711

    oklch(39.7% 0.126 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B2171

    #6B2171

    oklch(39.7% 0.146 324.7)

  • #4F2F8B

    #4F2F8B

    oklch(39.7% 0.145 294.9)

  • #7D154B

    #7D154B

    oklch(39.7% 0.145 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #6B2171

    #6B2171

    oklch(39.7% 0.146 324.7)

  • #464C00

    #464C00

    oklch(39.7% 0.09 114.8)

  • #005444

    #005444

    oklch(39.8% 0.076 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B2171

    #6B2171

    oklch(39.7% 0.146 324.7)

  • #5B4200

    #5B4200

    oklch(39.6% 0.081 84.1)

  • #005158

    #005158

    oklch(39.7% 0.068 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B2171

    #6B2171

    oklch(39.7% 0.146 324.7)

  • #6E3500

    #6E3500

    oklch(39.7% 0.099 54.4)

  • #005711

    #005711

    oklch(39.7% 0.126 144.7)

  • #004D6D

    #004D6D

    oklch(39.7% 0.084 234.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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