#581B42

Closest named color: Grape Purple (#5D1451). oklch(33.3% 0.102 344.7), rgb(88, 27, 66).

Aa

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

About this color

#581B42 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.102 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.032 away. White text reads best on it, at 12.72:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.65:1
White text12.72:1

Values

HEX#581B42
RGBrgb(88, 27, 66)
HSLhsl(322, 53%, 23%)
OKLCHoklch(33.3% 0.102 344.7)

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 #581B42 12.72:1 AAA Lc -101.6 Preferred for body text
Black text on #581B42 1.65:1 Fails Lc 0.0 Not readable
#581B42 text on white 12.72:1 AAA Lc 98.1 Preferred for body text
#581B42 text on black 1.65: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4ED

    oklch(93.5% 0.022 344.2)

  3. Step 200

    200

    #EFCFE0

    oklch(88.6% 0.042 344.7)

  4. Step 300

    300

    #E5ADCC

    oklch(80.8% 0.077 344.6)

  5. Step 400

    400

    #D680B2

    oklch(70.6% 0.122 344.9)

  6. Step 500

    500

    #C95D9F

    oklch(63.1% 0.157 344.9)

  7. Step 600

    600

    #B4408A

    oklch(55.6% 0.17 344.8)

  8. Step 700

    700

    #9A3175

    oklch(49% 0.158 344.7)

  9. Step 800

    800

    #7D2A5F

    oklch(42.6% 0.13 344.8)

  10. Step 900

    900 (this color)

    #581B42

    oklch(33.3% 0.102 344.7)

  11. Step 950

    950

    #3C182E

    oklch(27.1% 0.065 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#581B42 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)#212C430.111
Deuteranopia (no green cones)#3336410.097
Tritanopia (no blue cones)#5E1A2B0.043
Achromatopsia (no color)#3333330.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #581B42

    #581B42

    oklch(33.3% 0.102 344.7)

  • #00412D

    #00412D

    oklch(33.3% 0.07 165.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581B42

    #581B42

    oklch(33.3% 0.102 344.7)

  • #492259

    #492259

    oklch(33.2% 0.101 315)

  • #5F1925

    #5F1925

    oklch(33.2% 0.101 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #581B42

    #581B42

    oklch(33.3% 0.102 344.7)

  • #1E4000

    #1E4000

    oklch(33.2% 0.097 134.7)

  • #003F3F

    #003F3F

    oklch(33.3% 0.057 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581B42

    #581B42

    oklch(33.3% 0.102 344.7)

  • #3C3700

    #3C3700

    oklch(33.1% 0.07 103.9)

  • #003C4E

    #003C4E

    oklch(33.1% 0.063 225.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581B42

    #581B42

    oklch(33.3% 0.102 344.7)

  • #4B3000

    #4B3000

    oklch(33.3% 0.07 75)

  • #00412D

    #00412D

    oklch(33.3% 0.07 165.2)

  • #063569

    #063569

    oklch(33.2% 0.103 255.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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