#581B70

Closest named color: Royal Purple (#4B006E). oklch(36.1% 0.144 314.5), rgb(88, 27, 112).

Aa

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

About this color

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

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

Values

HEX#581B70
RGBrgb(88, 27, 112)
HSLhsl(283, 61%, 27%)
OKLCHoklch(36.1% 0.144 314.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 #581B70 11.62:1 AAA Lc -99.7 Preferred for body text
Black text on #581B70 1.80:1 Fails Lc 8.0 Not readable
#581B70 text on white 11.62:1 AAA Lc 95.9 Preferred for body text
#581B70 text on black 1.80: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF5

    oklch(88.5% 0.06 314.5)

  4. Step 300

    300

    #DBACF1

    oklch(81% 0.107 314.8)

  5. Step 400

    400

    #C87BEA

    oklch(70.7% 0.173 314.7)

  6. Step 500

    500

    #B953E3

    oklch(63.1% 0.22 314.6)

  7. Step 600

    600

    #A42DD1

    oklch(55.5% 0.24 314.4)

  8. Step 700

    700

    #8D1CB5

    oklch(49.1% 0.223 314.6)

  9. Step 800

    800

    #721C92

    oklch(42.6% 0.184 314.5)

  10. Step 900

    900 (this color)

    #581B70

    oklch(36.1% 0.144 314.5)

  11. Step 950

    950

    #361544

    oklch(27% 0.09 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#581B70 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)#0035720.131
Deuteranopia (no green cones)#173A6E0.121
Tritanopia (no blue cones)#562D440.093
Achromatopsia (no color)#3939390.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #581B70

    #581B70

    oklch(36.1% 0.144 314.5)

  • #234800

    #234800

    oklch(36% 0.104 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581B70

    #581B70

    oklch(36.1% 0.144 314.5)

  • #392A84

    #392A84

    oklch(36.1% 0.143 284.2)

  • #6C0B4F

    #6C0B4F

    oklch(36.1% 0.144 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #581B70

    #581B70

    oklch(36.1% 0.144 314.5)

  • #443F00

    #443F00

    oklch(36.1% 0.076 104.5)

  • #004A33

    #004A33

    oklch(36.2% 0.077 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581B70

    #581B70

    oklch(36.1% 0.144 314.5)

  • #553600

    #553600

    oklch(36.1% 0.077 73.7)

  • #004747

    #004747

    oklch(36% 0.061 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581B70

    #581B70

    oklch(36.1% 0.144 314.5)

  • #682600

    #682600

    oklch(36.2% 0.105 44.3)

  • #234800

    #234800

    oklch(36% 0.104 134.5)

  • #004458

    #004458

    oklch(36% 0.068 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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