#581CB9

Closest named color: Chrysanthemum (#560BAD). oklch(42.7% 0.217 291.2), rgb(88, 28, 185).

Aa

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

About this color

#581CB9 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.217 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.027 away. White text reads best on it, at 9.20:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.217)
Temperaturein between
Nearest nameChrysanthemum (#560BAD)
Black text2.28:1
White text9.20:1

Values

HEX#581CB9
RGBrgb(88, 28, 185)
HSLhsl(263, 74%, 42%)
OKLCHoklch(42.7% 0.217 291.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 #581CB9 9.20:1 AAA Lc -94.3 Preferred for body text
Black text on #581CB9 2.28:1 Fails Lc 14.2 Not readable
#581CB9 text on white 9.20:1 AAA Lc 89.8 Fine for body text
#581CB9 text on black 2.28:1 Fails Lc -12.4 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E6FF

    oklch(93.5% 0.034 291.2)

  3. Step 200

    200

    #D9D3FF

    oklch(88.6% 0.06 291.4)

  4. Step 300

    300

    #C1B5FF

    oklch(81% 0.104 291.3)

  5. Step 400

    400

    #A38AFF

    oklch(70.7% 0.167 291.4)

  6. Step 500

    500

    #8F66FF

    oklch(63% 0.217 291.2)

  7. Step 600

    600

    #7E36FF

    oklch(55.5% 0.268 291.1)

  8. Step 700

    700

    #6D18E5

    oklch(49.1% 0.263 291.3)

  9. Step 800

    800 (this color)

    #581CB9

    oklch(42.7% 0.217 291.2)

  10. Step 900

    900

    #472292

    oklch(37.7% 0.17 291)

  11. Step 950

    950

    #291655

    oklch(26.9% 0.107 291.3)

Export this scale for Tailwind in the Tailwind colors tool

#581CB9 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)#004ABD0.113
Deuteranopia (no green cones)#0044B60.109
Tritanopia (no blue cones)#344D6E0.170
Achromatopsia (no color)#4848480.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #581CB9

    #581CB9

    oklch(42.7% 0.217 291.2)

  • #525300

    #525300

    oklch(42.7% 0.094 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581CB9

    #581CB9

    oklch(42.7% 0.217 291.2)

  • #0043B3

    #0043B3

    oklch(42.8% 0.187 261.2)

  • #7D0090

    #7D0090

    oklch(42.7% 0.204 321)

Open the analogous palette in the generator

Split complementary

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

  • #581CB9

    #581CB9

    oklch(42.7% 0.217 291.2)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #106000

    #106000

    oklch(42.6% 0.141 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581CB9

    #581CB9

    oklch(42.7% 0.217 291.2)

  • #7D3900

    #7D3900

    oklch(42.8% 0.111 51.1)

  • #005E49

    #005E49

    oklch(42.9% 0.084 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581CB9

    #581CB9

    oklch(42.7% 0.217 291.2)

  • #970021

    #970021

    oklch(42.7% 0.172 21.2)

  • #525300

    #525300

    oklch(42.7% 0.094 110.6)

  • #005B60

    #005B60

    oklch(42.9% 0.073 201.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #581CB9.

Similar named colors

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

Use #581CB9 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.