#82218B

Closest named color: Dark Magenta (#8B008B). oklch(44.9% 0.18 324.2), rgb(130, 33, 139).

Aa

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

About this color

#82218B is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.180 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.029 away. White text reads best on it, at 8.26:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.180)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.53:1
White text8.26:1

Values

HEX#82218B
RGBrgb(130, 33, 139)
HSLhsl(295, 62%, 34%)
OKLCHoklch(44.9% 0.18 324.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 #82218B 8.26:1 AAA Lc -92.1 Preferred for body text
Black text on #82218B 2.53:1 Fails Lc 16.6 Dividers and decoration only
#82218B text on white 8.26:1 AAA Lc 87.4 Fine for body text
#82218B text on black 2.53:1 Fails Lc -14.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCDEF

    oklch(88.5% 0.057 324.2)

  4. Step 300

    300

    #E3A9E7

    oklch(80.9% 0.106 324.3)

  5. Step 400

    400

    #D378DB

    oklch(70.7% 0.169 324.2)

  6. Step 500

    500

    #C54ED0

    oklch(63% 0.215 324.2)

  7. Step 600

    600

    #B128BD

    oklch(55.7% 0.233 324.4)

  8. Step 700

    700

    #9816A3

    oklch(49.2% 0.217 324.4)

  9. Step 800

    800 (this color)

    #82218B

    oklch(44.9% 0.18 324.2)

  10. Step 900

    900

    #631D6A

    oklch(37.6% 0.14 324)

  11. Step 950

    950

    #3A133E

    oklch(26.9% 0.088 323.9)

Export this scale for Tailwind in the Tailwind colors tool

#82218B 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)#00478E0.187
Deuteranopia (no green cones)#3552880.160
Tritanopia (no blue cones)#8534550.104
Achromatopsia (no color)#4E4E4E0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #82218B

    #82218B

    oklch(44.9% 0.18 324.2)

  • #006813

    #006813

    oklch(44.9% 0.145 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #82218B

    #82218B

    oklch(44.9% 0.18 324.2)

  • #5F34AC

    #5F34AC

    oklch(44.9% 0.18 294.4)

  • #99095B

    #99095B

    oklch(45% 0.18 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #82218B

    #82218B

    oklch(44.9% 0.18 324.2)

  • #555B00

    #555B00

    oklch(45% 0.101 114.1)

  • #006452

    #006452

    oklch(44.9% 0.085 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #82218B

    #82218B

    oklch(44.9% 0.18 324.2)

  • #6D5000

    #6D5000

    oklch(45% 0.092 84.4)

  • #006169

    #006169

    oklch(44.9% 0.077 204.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #82218B

    #82218B

    oklch(44.9% 0.18 324.2)

  • #834000

    #834000

    oklch(44.9% 0.112 54.1)

  • #006813

    #006813

    oklch(44.9% 0.145 144.2)

  • #005C81

    #005C81

    oklch(44.8% 0.095 234.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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