#6B2871

Closest named color: Rich Purple (#720058). oklch(40.5% 0.135 324.3), rgb(107, 40, 113).

Aa

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

About this color

#6B2871 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.135 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Purple (#720058), ΔE 0.060 away. White text reads best on it, at 9.69:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameRich Purple (#720058)
Black text2.16:1
White text9.69:1

Values

HEX#6B2871
RGBrgb(107, 40, 113)
HSLhsl(295, 48%, 30%)
OKLCHoklch(40.5% 0.135 324.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 #6B2871 9.69:1 AAA Lc -96.1 Preferred for body text
Black text on #6B2871 2.16:1 Fails Lc 12.1 Not readable
#6B2871 text on white 9.69:1 AAA Lc 91.8 Preferred for body text
#6B2871 text on black 2.16:1 Fails Lc -10.6 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EA

    oklch(88.5% 0.044 323.6)

  4. Step 300

    300

    #DBB0DE

    oklch(81% 0.079 324.2)

  5. Step 400

    400

    #C884CD

    oklch(70.8% 0.127 324.4)

  6. Step 500

    500

    #B862BF

    oklch(63% 0.162 324.4)

  7. Step 600

    600

    #A346AC

    oklch(55.5% 0.177 324.1)

  8. Step 700

    700

    #8C3793

    oklch(49.1% 0.163 324.6)

  9. Step 800

    800 (this color)

    #6B2871

    oklch(40.5% 0.135 324.3)

  10. Step 900

    900

    #5C2A60

    oklch(37.6% 0.106 324.6)

  11. Step 950

    950

    #361A38

    oklch(27.1% 0.065 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#6B2871 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)#1B3F730.136
Deuteranopia (no green cones)#34476F0.118
Tritanopia (no blue cones)#6D33480.081
Achromatopsia (no color)#4444440.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B2871

    #6B2871

    oklch(40.5% 0.135 324.3)

  • #005A10

    #005A10

    oklch(40.6% 0.13 144.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B2871

    #6B2871

    oklch(40.5% 0.135 324.3)

  • #503489

    #503489

    oklch(40.5% 0.136 294.8)

  • #7C1E4E

    #7C1E4E

    oklch(40.4% 0.136 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #6B2871

    #6B2871

    oklch(40.5% 0.135 324.3)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B2871

    #6B2871

    oklch(40.5% 0.135 324.3)

  • #5E4400

    #5E4400

    oklch(40.4% 0.083 83.7)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B2871

    #6B2871

    oklch(40.5% 0.135 324.3)

  • #713700

    #713700

    oklch(40.5% 0.101 54.8)

  • #005A10

    #005A10

    oklch(40.6% 0.13 144.4)

  • #005070

    #005070

    oklch(40.6% 0.085 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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