#582A8A

Closest named color: Rebecca Purple (#663399). oklch(40% 0.152 301.8), rgb(88, 42, 138).

Aa

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

About this color

#582A8A is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.152 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.042 away. White text reads best on it, at 9.93:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.152)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.11:1
White text9.93:1

Values

HEX#582A8A
RGBrgb(88, 42, 138)
HSLhsl(269, 53%, 35%)
OKLCHoklch(40% 0.152 301.8)

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 #582A8A 9.93:1 AAA Lc -96.7 Preferred for body text
Black text on #582A8A 2.11:1 Fails Lc 11.5 Not readable
#582A8A text on white 9.93:1 AAA Lc 92.5 Preferred for body text
#582A8A text on black 2.11:1 Fails Lc -10.0 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CEAFFE

    oklch(80.9% 0.114 301.9)

  5. Step 400

    400

    #B680FE

    oklch(70.7% 0.183 301.7)

  6. Step 500

    500

    #A658FC

    oklch(63.2% 0.234 301.9)

  7. Step 600

    600

    #9232EB

    oklch(55.6% 0.254 301.8)

  8. Step 700

    700

    #7C21CC

    oklch(49.1% 0.235 301.7)

  9. Step 800

    800

    #6520A5

    oklch(42.7% 0.195 301.8)

  10. Step 900

    900 (this color)

    #582A8A

    oklch(40% 0.152 301.8)

  11. Step 950

    950

    #30164D

    oklch(27% 0.097 302)

Export this scale for Tailwind in the Tailwind colors tool

#582A8A 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)#00428D0.112
Deuteranopia (no green cones)#0042880.113
Tritanopia (no blue cones)#4E40560.113
Achromatopsia (no color)#4343430.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #582A8A

    #582A8A

    oklch(40% 0.152 301.8)

  • #3F4F00

    #3F4F00

    oklch(39.9% 0.097 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #582A8A

    #582A8A

    oklch(40% 0.152 301.8)

  • #2E3A98

    #2E3A98

    oklch(40% 0.153 271.9)

  • #731B6B

    #731B6B

    oklch(40% 0.152 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #582A8A

    #582A8A

    oklch(40% 0.152 301.8)

  • #584500

    #584500

    oklch(39.9% 0.082 90.8)

  • #005729

    #005729

    oklch(40% 0.105 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #582A8A

    #582A8A

    oklch(40% 0.152 301.8)

  • #6A3A00

    #6A3A00

    oklch(40% 0.092 61.8)

  • #00544A

    #00544A

    oklch(40% 0.072 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #582A8A

    #582A8A

    oklch(40% 0.152 301.8)

  • #871200

    #871200

    oklch(40% 0.153 31.8)

  • #3F4F00

    #3F4F00

    oklch(39.9% 0.097 122)

  • #00515D

    #00515D

    oklch(39.9% 0.069 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #582A8A 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.