#581FB7

Closest named color: Chrysanthemum (#560BAD). oklch(42.8% 0.213 291.4), rgb(88, 31, 183).

Aa

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

About this color

#581FB7 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.213 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.15:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.213)
Temperaturein between
Nearest nameChrysanthemum (#560BAD)
Black text2.29:1
White text9.15:1

Values

HEX#581FB7
RGBrgb(88, 31, 183)
HSLhsl(263, 71%, 42%)
OKLCHoklch(42.8% 0.213 291.4)

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 #581FB7 9.15:1 AAA Lc -94.3 Preferred for body text
Black text on #581FB7 2.29:1 Fails Lc 14.2 Not readable
#581FB7 text on white 9.15:1 AAA Lc 89.8 Fine for body text
#581FB7 text on black 2.29:1 Fails Lc -12.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 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

    #7F36FF

    oklch(55.6% 0.268 291.5)

  8. Step 700

    700

    #6C1DE2

    oklch(49% 0.257 291.3)

  9. Step 800

    800 (this color)

    #581FB7

    oklch(42.8% 0.213 291.4)

  10. Step 900

    900

    #472390

    oklch(37.6% 0.166 291.3)

  11. Step 950

    950

    #291754

    oklch(26.9% 0.105 291.3)

Export this scale for Tailwind in the Tailwind colors tool

#581FB7 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)#004ABB0.111
Deuteranopia (no green cones)#0045B40.108
Tritanopia (no blue cones)#364D6D0.167
Achromatopsia (no color)#4848480.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #581FB7

    #581FB7

    oklch(42.8% 0.213 291.4)

  • #525400

    #525400

    oklch(43% 0.095 111.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581FB7

    #581FB7

    oklch(42.8% 0.213 291.4)

  • #0043B4

    #0043B4

    oklch(42.9% 0.189 261.3)

  • #7E0090

    #7E0090

    oklch(42.9% 0.204 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #581FB7

    #581FB7

    oklch(42.8% 0.213 291.4)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #0E6100

    #0E6100

    oklch(42.9% 0.142 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581FB7

    #581FB7

    oklch(42.8% 0.213 291.4)

  • #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.

  • #581FB7

    #581FB7

    oklch(42.8% 0.213 291.4)

  • #970021

    #970021

    oklch(42.7% 0.172 21.2)

  • #525400

    #525400

    oklch(43% 0.095 111.4)

  • #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 #581FB7, closest first.

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

Similar named colors

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

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