#581B40

Closest named color: Grape Purple (#5D1451). oklch(33.2% 0.1 346.6), rgb(88, 27, 64).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.64:1
White text12.76:1

Values

HEX#581B40
RGBrgb(88, 27, 64)
HSLhsl(324, 53%, 23%)
OKLCHoklch(33.2% 0.1 346.6)

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 #581B40 12.76:1 AAA Lc -101.6 Preferred for body text
Black text on #581B40 1.64:1 Fails Lc 0.0 Not readable
#581B40 text on white 12.76:1 AAA Lc 98.2 Preferred for body text
#581B40 text on black 1.64: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

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCFDF

    oklch(88.6% 0.041 346.3)

  4. Step 300

    300

    #E6ADCA

    oklch(80.9% 0.076 347)

  5. Step 400

    400

    #D681B0

    oklch(70.7% 0.119 346.3)

  6. Step 500

    500

    #C95E9C

    oklch(63.1% 0.153 346.5)

  7. Step 600

    600

    #B44187

    oklch(55.6% 0.167 346.4)

  8. Step 700

    700

    #9B3272

    oklch(49.2% 0.155 346.8)

  9. Step 800

    800

    #7E2A5D

    oklch(42.7% 0.13 346.6)

  10. Step 900

    900 (this color)

    #581B40

    oklch(33.2% 0.1 346.6)

  11. Step 950

    950

    #3C182D

    oklch(27.1% 0.064 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#581B40 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)#222C410.110
Deuteranopia (no green cones)#33363F0.098
Tritanopia (no blue cones)#5E1A2A0.041
Achromatopsia (no color)#3232320.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #581B40

    #581B40

    oklch(33.2% 0.1 346.6)

  • #00412E

    #00412E

    oklch(33.3% 0.069 166.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581B40

    #581B40

    oklch(33.2% 0.1 346.6)

  • #4A2257

    #4A2257

    oklch(33.2% 0.1 317.2)

  • #5F1923

    #5F1923

    oklch(33.2% 0.101 16.5)

Open the analogous palette in the generator

Split complementary

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

  • #581B40

    #581B40

    oklch(33.2% 0.1 346.6)

  • #1A4000

    #1A4000

    oklch(33% 0.099 136.3)

  • #003F40

    #003F40

    oklch(33.3% 0.057 196.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581B40

    #581B40

    oklch(33.2% 0.1 346.6)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

  • #003C4F

    #003C4F

    oklch(33.2% 0.064 226.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581B40

    #581B40

    oklch(33.2% 0.1 346.6)

  • #4A3000

    #4A3000

    oklch(33.2% 0.07 76.2)

  • #00412E

    #00412E

    oklch(33.3% 0.069 166.3)

  • #0C3568

    #0C3568

    oklch(33.3% 0.1 256.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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