#582381

Closest named color: Indigo (#4B0082). oklch(38.4% 0.151 306.2), rgb(88, 35, 129).

Aa

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

About this color

#582381 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.151 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.054 away. White text reads best on it, at 10.64:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.151)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.97:1
White text10.64:1

Values

HEX#582381
RGBrgb(88, 35, 129)
HSLhsl(274, 57%, 32%)
OKLCHoklch(38.4% 0.151 306.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 #582381 10.64:1 AAA Lc -98.0 Preferred for body text
Black text on #582381 1.97:1 Fails Lc 10.0 Not readable
#582381 text on white 10.64:1 AAA Lc 94.0 Preferred for body text
#582381 text on black 1.97:1 Fails Lc -8.6 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

    #D3ADFB

    oklch(80.9% 0.115 306.3)

  5. Step 400

    400

    #BD7EF8

    oklch(70.7% 0.181 306.2)

  6. Step 500

    500

    #AD55F5

    oklch(63.1% 0.232 306)

  7. Step 600

    600

    #992EE4

    oklch(55.6% 0.253 306)

  8. Step 700

    700

    #831CC6

    oklch(49.1% 0.235 306.1)

  9. Step 800

    800

    #6A1DA0

    oklch(42.7% 0.194 306)

  10. Step 900

    900 (this color)

    #582381

    oklch(38.4% 0.151 306.2)

  11. Step 950

    950

    #32154A

    oklch(26.9% 0.096 306.1)

Export this scale for Tailwind in the Tailwind colors tool

#582381 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)#003D840.120
Deuteranopia (no green cones)#013F7F0.121
Tritanopia (no blue cones)#51394F0.109
Achromatopsia (no color)#3E3E3E0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #582381

    #582381

    oklch(38.4% 0.151 306.2)

  • #364C00

    #364C00

    oklch(38.4% 0.098 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #582381

    #582381

    oklch(38.4% 0.151 306.2)

  • #323391

    #323391

    oklch(38.3% 0.151 276.1)

  • #701361

    #701361

    oklch(38.3% 0.151 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #582381

    #582381

    oklch(38.4% 0.151 306.2)

  • #504300

    #504300

    oklch(38.5% 0.079 96.5)

  • #00512E

    #00512E

    oklch(38.3% 0.092 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #582381

    #582381

    oklch(38.4% 0.151 306.2)

  • #613800

    #613800

    oklch(38.2% 0.085 65.9)

  • #004F49

    #004F49

    oklch(38.5% 0.067 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #582381

    #582381

    oklch(38.4% 0.151 306.2)

  • #791E00

    #791E00

    oklch(38.3% 0.13 36.3)

  • #364C00

    #364C00

    oklch(38.4% 0.098 126.2)

  • #004C5B

    #004C5B

    oklch(38.4% 0.068 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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