#582F98

Closest named color: Rebecca Purple (#663399). oklch(41.8% 0.162 296.6), rgb(88, 47, 152).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.162)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.27:1
White text9.23:1

Values

HEX#582F98
RGBrgb(88, 47, 152)
HSLhsl(263, 53%, 39%)
OKLCHoklch(41.8% 0.162 296.6)

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 #582F98 9.23:1 AAA Lc -95.1 Preferred for body text
Black text on #582F98 2.27:1 Fails Lc 13.3 Not readable
#582F98 text on white 9.23:1 AAA Lc 90.7 Preferred for body text
#582F98 text on black 2.27:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD3F9

    oklch(88.6% 0.053 296.2)

  4. Step 300

    300

    #C6B4F7

    oklch(80.8% 0.095 296.5)

  5. Step 400

    400

    #AB8AF3

    oklch(70.7% 0.152 296.8)

  6. Step 500

    500

    #9769EE

    oklch(63.1% 0.193 296.4)

  7. Step 600

    600

    #834BDD

    oklch(55.6% 0.211 296.5)

  8. Step 700

    700

    #6F3BC0

    oklch(49.1% 0.196 296.3)

  9. Step 800

    800 (this color)

    #582F98

    oklch(41.8% 0.162 296.6)

  10. Step 900

    900

    #4A2E7B

    oklch(37.8% 0.125 296.7)

  11. Step 950

    950

    #2B1C48

    oklch(27.1% 0.079 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#582F98 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)#00489B0.106
Deuteranopia (no green cones)#0046960.106
Tritanopia (no blue cones)#48485F0.125
Achromatopsia (no color)#4747470.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #582F98

    #582F98

    oklch(41.8% 0.162 296.6)

  • #4A5200

    #4A5200

    oklch(41.7% 0.095 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #582F98

    #582F98

    oklch(41.8% 0.162 296.6)

  • #2441A3

    #2441A3

    oklch(41.8% 0.162 266.6)

  • #771E79

    #771E79

    oklch(41.8% 0.162 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #582F98

    #582F98

    oklch(41.8% 0.162 296.6)

  • #614800

    #614800

    oklch(41.7% 0.085 85.8)

  • #005D1C

    #005D1C

    oklch(41.7% 0.125 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #582F98

    #582F98

    oklch(41.8% 0.162 296.6)

  • #753B00

    #753B00

    oklch(41.8% 0.102 56.4)

  • #005A4B

    #005A4B

    oklch(41.8% 0.078 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #582F98

    #582F98

    oklch(41.8% 0.162 296.6)

  • #910D13

    #910D13

    oklch(41.9% 0.163 26.7)

  • #4A5200

    #4A5200

    oklch(41.7% 0.095 116.1)

  • #005760

    #005760

    oklch(41.7% 0.072 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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