#68227B

Closest named color: Purple (#800080). oklch(40% 0.152 318.2), rgb(104, 34, 123).

Aa

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

About this color

#68227B is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.152 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.055 away. White text reads best on it, at 9.98:1.

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

Values

HEX#68227B
RGBrgb(104, 34, 123)
HSLhsl(287, 57%, 31%)
OKLCHoklch(40% 0.152 318.2)

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 #68227B 9.98:1 AAA Lc -96.6 Preferred for body text
Black text on #68227B 2.10:1 Fails Lc 11.6 Not readable
#68227B text on white 9.98:1 AAA Lc 92.4 Preferred for body text
#68227B text on black 2.10:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #EBCDF5

    oklch(88.6% 0.063 317.6)

  4. Step 300

    300

    #E0A9F0

    oklch(80.9% 0.114 318.5)

  5. Step 400

    400

    #CF76E9

    oklch(70.7% 0.184 318.2)

  6. Step 500

    500

    #C14AE2

    oklch(63.1% 0.234 318.1)

  7. Step 600

    600

    #AD1DCF

    oklch(55.7% 0.253 318.4)

  8. Step 700

    700

    #9404B3

    oklch(49.1% 0.235 318.3)

  9. Step 800

    800

    #781091

    oklch(42.6% 0.195 318.2)

  10. Step 900

    900 (this color)

    #68227B

    oklch(40% 0.152 318.2)

  11. Step 950

    950

    #391244

    oklch(27% 0.096 318)

Export this scale for Tailwind in the Tailwind colors tool

#68227B 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)#003E7E0.149
Deuteranopia (no green cones)#2645790.130
Tritanopia (no blue cones)#68334C0.095
Achromatopsia (no color)#4242420.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #68227B

    #68227B

    oklch(40% 0.152 318.2)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #68227B

    #68227B

    oklch(40% 0.152 318.2)

  • #483193

    #483193

    oklch(40% 0.153 288.3)

  • #7D1356

    #7D1356

    oklch(40.1% 0.152 348)

Open the analogous palette in the generator

Split complementary

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

  • #68227B

    #68227B

    oklch(40% 0.152 318.2)

  • #4C4B00

    #4C4B00

    oklch(40.1% 0.087 108.9)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #68227B

    #68227B

    oklch(40% 0.152 318.2)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #005355

    #005355

    oklch(40.1% 0.068 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #68227B

    #68227B

    oklch(40% 0.152 318.2)

  • #743100

    #743100

    oklch(40% 0.108 48.4)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

  • #004F69

    #004F69

    oklch(40% 0.079 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #68227B 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.