#802588

Closest named color: Dark Magenta (#8B008B). oklch(44.8% 0.171 324.4), rgb(128, 37, 136).

Aa

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

About this color

#802588 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.171 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.036 away. White text reads best on it, at 8.27:1.

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

Values

HEX#802588
RGBrgb(128, 37, 136)
HSLhsl(295, 57%, 34%)
OKLCHoklch(44.8% 0.171 324.4)

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 #802588 8.27:1 AAA Lc -92.3 Preferred for body text
Black text on #802588 2.53:1 Fails Lc 16.4 Dividers and decoration only
#802588 text on white 8.27:1 AAA Lc 87.6 Fine for body text
#802588 text on black 2.53:1 Fails Lc -14.5 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEE

    oklch(88.4% 0.056 324.1)

  4. Step 300

    300

    #E1ABE5

    oklch(80.9% 0.099 324.2)

  5. Step 400

    400

    #D17AD8

    oklch(70.7% 0.161 324.4)

  6. Step 500

    500

    #C353CD

    oklch(63.1% 0.204 324.3)

  7. Step 600

    600

    #AE2FBA

    oklch(55.6% 0.223 324.2)

  8. Step 700

    700

    #961FA0

    oklch(49.2% 0.207 324.5)

  9. Step 800

    800 (this color)

    #802588

    oklch(44.8% 0.171 324.4)

  10. Step 900

    900

    #622068

    oklch(37.6% 0.134 324.3)

  11. Step 950

    950

    #3A143D

    oklch(27% 0.086 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#802588 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)#06478B0.180
Deuteranopia (no green cones)#3852860.151
Tritanopia (no blue cones)#8336540.100
Achromatopsia (no color)#4E4E4E0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #802588

    #802588

    oklch(44.8% 0.171 324.4)

  • #006714

    #006714

    oklch(44.6% 0.143 144.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #802588

    #802588

    oklch(44.8% 0.171 324.4)

  • #5E37A8

    #5E37A8

    oklch(44.9% 0.172 294.3)

  • #96135A

    #96135A

    oklch(44.8% 0.172 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #802588

    #802588

    oklch(44.8% 0.171 324.4)

  • #545A00

    #545A00

    oklch(44.7% 0.101 114.2)

  • #006451

    #006451

    oklch(44.9% 0.086 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #802588

    #802588

    oklch(44.8% 0.171 324.4)

  • #6C4F00

    #6C4F00

    oklch(44.6% 0.092 84.1)

  • #006068

    #006068

    oklch(44.6% 0.076 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #802588

    #802588

    oklch(44.8% 0.171 324.4)

  • #824000

    #824000

    oklch(44.7% 0.111 54.6)

  • #006714

    #006714

    oklch(44.6% 0.143 144.4)

  • #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 #802588, closest first.

Similar named colors

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

Use #802588 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.