#582282

Closest named color: Indigo (#4B0082). oklch(38.3% 0.154 306), rgb(88, 34, 130).

Aa

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

About this color

#582282 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.154 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.052 away. White text reads best on it, at 10.68:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.154)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.96:1
White text10.68:1

Values

HEX#582282
RGBrgb(88, 34, 130)
HSLhsl(274, 59%, 32%)
OKLCHoklch(38.3% 0.154 306)

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 #582282 10.68:1 AAA Lc -98.0 Preferred for body text
Black text on #582282 1.96:1 Fails Lc 9.9 Not readable
#582282 text on white 10.68:1 AAA Lc 94.0 Preferred for body text
#582282 text on black 1.96:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E3CFFB

    oklch(88.5% 0.063 305.7)

  4. Step 300

    300

    #D3ADFC

    oklch(80.9% 0.116 306)

  5. Step 400

    400

    #BD7DFA

    oklch(70.7% 0.184 305.9)

  6. Step 500

    500

    #AE53F7

    oklch(63.1% 0.236 306.2)

  7. Step 600

    600

    #9A2BE6

    oklch(55.7% 0.257 306.1)

  8. Step 700

    700

    #8319C8

    oklch(49.1% 0.238 305.8)

  9. Step 800

    800

    #6B1BA1

    oklch(42.7% 0.197 306.3)

  10. Step 900

    900 (this color)

    #582282

    oklch(38.3% 0.154 306)

  11. Step 950

    950

    #32154B

    oklch(27% 0.097 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#582282 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)#003C850.120
Deuteranopia (no green cones)#003E800.122
Tritanopia (no blue cones)#5138500.108
Achromatopsia (no color)#3E3E3E0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #582282

    #582282

    oklch(38.3% 0.154 306)

  • #364C00

    #364C00

    oklch(38.4% 0.098 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #582282

    #582282

    oklch(38.3% 0.154 306)

  • #323292

    #323292

    oklch(38.2% 0.154 276.3)

  • #711161

    #711161

    oklch(38.3% 0.154 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #582282

    #582282

    oklch(38.3% 0.154 306)

  • #504200

    #504200

    oklch(38.2% 0.079 95.3)

  • #00512D

    #00512D

    oklch(38.2% 0.093 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #582282

    #582282

    oklch(38.3% 0.154 306)

  • #613800

    #613800

    oklch(38.2% 0.085 65.9)

  • #004F48

    #004F48

    oklch(38.4% 0.068 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #582282

    #582282

    oklch(38.3% 0.154 306)

  • #7A1D00

    #7A1D00

    oklch(38.4% 0.132 35.8)

  • #364C00

    #364C00

    oklch(38.4% 0.098 126.2)

  • #004C5A

    #004C5A

    oklch(38.4% 0.068 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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