#6C227D

Closest named color: Purple (#800080). oklch(40.7% 0.156 319.5), rgb(108, 34, 125).

Aa

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

About this color

#6C227D is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.156 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.048 away. White text reads best on it, at 9.71:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.156)
Temperaturein between
Nearest namePurple (#800080)
Black text2.16:1
White text9.71:1

Values

HEX#6C227D
RGBrgb(108, 34, 125)
HSLhsl(289, 57%, 31%)
OKLCHoklch(40.7% 0.156 319.5)

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 #6C227D 9.71:1 AAA Lc -95.9 Preferred for body text
Black text on #6C227D 2.16:1 Fails Lc 12.3 Not readable
#6C227D text on white 9.71:1 AAA Lc 91.6 Preferred for body text
#6C227D text on black 2.16:1 Fails Lc -10.7 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DBAEE6

    oklch(80.9% 0.091 319.6)

  5. Step 400

    400

    #C881D9

    oklch(70.8% 0.145 319.7)

  6. Step 500

    500

    #B85DCF

    oklch(63.1% 0.186 319.2)

  7. Step 600

    600

    #A43EBC

    oklch(55.7% 0.203 319.4)

  8. Step 700

    700

    #8C2EA2

    oklch(49.1% 0.189 319.3)

  9. Step 800

    800 (this color)

    #6C227D

    oklch(40.7% 0.156 319.5)

  10. Step 900

    900

    #5C2769

    oklch(37.7% 0.121 319.3)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#6C227D 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)#003F800.155
Deuteranopia (no green cones)#29477B0.134
Tritanopia (no blue cones)#6C334D0.096
Achromatopsia (no color)#4444440.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C227D

    #6C227D

    oklch(40.7% 0.156 319.5)

  • #1A5900

    #1A5900

    oklch(40.8% 0.13 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C227D

    #6C227D

    oklch(40.7% 0.156 319.5)

  • #4C3296

    #4C3296

    oklch(40.8% 0.155 289.7)

  • #811256

    #811256

    oklch(40.7% 0.156 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #6C227D

    #6C227D

    oklch(40.7% 0.156 319.5)

  • #4D4D00

    #4D4D00

    oklch(40.7% 0.089 109.8)

  • #005742

    #005742

    oklch(40.6% 0.081 169.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C227D

    #6C227D

    oklch(40.7% 0.156 319.5)

  • #624300

    #624300

    oklch(40.7% 0.085 78.8)

  • #005558

    #005558

    oklch(40.8% 0.069 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C227D

    #6C227D

    oklch(40.7% 0.156 319.5)

  • #763400

    #763400

    oklch(40.8% 0.108 50)

  • #1A5900

    #1A5900

    oklch(40.8% 0.13 139.4)

  • #00516D

    #00516D

    oklch(40.7% 0.081 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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