#802A56

Closest named color: Red Purple (#820747). oklch(42.7% 0.127 352.2), rgb(128, 42, 86).

Aa

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

About this color

#802A56 is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.127 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.044 away. White text reads best on it, at 8.81:1.

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.38:1
White text8.81:1

Values

HEX#802A56
RGBrgb(128, 42, 86)
HSLhsl(329, 51%, 33%)
OKLCHoklch(42.7% 0.127 352.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 #802A56 8.81:1 AAA Lc -93.9 Preferred for body text
Black text on #802A56 2.38:1 Fails Lc 14.6 Not readable
#802A56 text on white 8.81:1 AAA Lc 89.4 Fine for body text
#802A56 text on black 2.38:1 Fails Lc -12.9 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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EB

    oklch(93.5% 0.022 351.9)

  3. Step 200

    200

    #F0CEDC

    oklch(88.4% 0.042 351.2)

  4. Step 300

    300

    #E7ADC5

    oklch(80.8% 0.074 352.3)

  5. Step 400

    400

    #D980A8

    oklch(70.7% 0.119 352.2)

  6. Step 500

    500

    #CC5D93

    oklch(63.1% 0.153 351.9)

  7. Step 600

    600

    #B7407D

    oklch(55.6% 0.165 352.1)

  8. Step 700

    700

    #9D3169

    oklch(49% 0.153 352.3)

  9. Step 800

    800 (this color)

    #802A56

    oklch(42.7% 0.127 352.2)

  10. Step 900

    900

    #672747

    oklch(37.6% 0.1 351.8)

  11. Step 950

    950

    #3D1829

    oklch(27% 0.062 353.3)

Export this scale for Tailwind in the Tailwind colors tool

#802A56 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)#3741570.141
Deuteranopia (no green cones)#4F50540.126
Tritanopia (no blue cones)#8A253C0.046
Achromatopsia (no color)#4A4A4A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #802A56

    #802A56

    oklch(42.7% 0.127 352.2)

  • #005D4A

    #005D4A

    oklch(42.6% 0.082 172.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #802A56

    #802A56

    oklch(42.7% 0.127 352.2)

  • #6E3277

    #6E3277

    oklch(42.7% 0.127 322.3)

  • #872A2D

    #872A2D

    oklch(42.7% 0.127 22.5)

Open the analogous palette in the generator

Split complementary

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

  • #802A56

    #802A56

    oklch(42.7% 0.127 352.2)

  • #195F14

    #195F14

    oklch(42.7% 0.127 142.1)

  • #005A60

    #005A60

    oklch(42.6% 0.073 202.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #802A56

    #802A56

    oklch(42.7% 0.127 352.2)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

  • #005676

    #005676

    oklch(42.6% 0.087 232.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #802A56

    #802A56

    oklch(42.7% 0.127 352.2)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #005D4A

    #005D4A

    oklch(42.6% 0.082 172.5)

  • #264B94

    #264B94

    oklch(42.8% 0.128 262.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #802A56 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.