#581C72

Closest named color: Royal Purple (#4B006E). oklch(36.4% 0.144 313.5), rgb(88, 28, 114).

Aa

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

About this color

#581C72 is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.144 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.049 away. White text reads best on it, at 11.51:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.144)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.82:1
White text11.51:1

Values

HEX#581C72
RGBrgb(88, 28, 114)
HSLhsl(282, 61%, 28%)
OKLCHoklch(36.4% 0.144 313.5)

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 #581C72 11.51:1 AAA Lc -99.5 Preferred for body text
Black text on #581C72 1.82:1 Fails Lc 8.2 Not readable
#581C72 text on white 11.51:1 AAA Lc 95.7 Preferred for body text
#581C72 text on black 1.82:1 Fails Lc 0.0 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E8CEF6

    oklch(88.5% 0.061 313.8)

  4. Step 300

    300

    #DAACF2

    oklch(80.9% 0.108 313.8)

  5. Step 400

    400

    #C67CEC

    oklch(70.7% 0.173 313.2)

  6. Step 500

    500

    #B753E5

    oklch(63% 0.221 313.4)

  7. Step 600

    600

    #A32ED3

    oklch(55.6% 0.24 313.5)

  8. Step 700

    700

    #8C1CB7

    oklch(49.1% 0.224 313.6)

  9. Step 800

    800

    #711D94

    oklch(42.7% 0.185 313.3)

  10. Step 900

    900 (this color)

    #581C72

    oklch(36.4% 0.144 313.5)

  11. Step 950

    950

    #361545

    oklch(27.1% 0.091 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#581C72 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)#0036740.130
Deuteranopia (no green cones)#153B700.122
Tritanopia (no blue cones)#552F450.096
Achromatopsia (no color)#3939390.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #581C72

    #581C72

    oklch(36.4% 0.144 313.5)

  • #264900

    #264900

    oklch(36.4% 0.104 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581C72

    #581C72

    oklch(36.4% 0.144 313.5)

  • #392B86

    #392B86

    oklch(36.5% 0.145 283.6)

  • #6D0C51

    #6D0C51

    oklch(36.4% 0.145 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #581C72

    #581C72

    oklch(36.4% 0.144 313.5)

  • #453F00

    #453F00

    oklch(36.2% 0.076 103.5)

  • #004B32

    #004B32

    oklch(36.5% 0.079 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581C72

    #581C72

    oklch(36.4% 0.144 313.5)

  • #563700

    #563700

    oklch(36.5% 0.077 74.1)

  • #004847

    #004847

    oklch(36.3% 0.062 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581C72

    #581C72

    oklch(36.4% 0.144 313.5)

  • #6A2600

    #6A2600

    oklch(36.5% 0.107 43.7)

  • #264900

    #264900

    oklch(36.4% 0.104 133.5)

  • #004558

    #004558

    oklch(36.3% 0.068 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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