#581B4F

Closest named color: Grape Purple (#5D1451). oklch(33.9% 0.112 334.1), rgb(88, 27, 79).

Aa

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

About this color

#581B4F is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.112 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.015 away. White text reads best on it, at 12.46:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.68:1
White text12.46:1

Values

HEX#581B4F
RGBrgb(88, 27, 79)
HSLhsl(309, 53%, 23%)
OKLCHoklch(33.9% 0.112 334.1)

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 #581B4F 12.46:1 AAA Lc -101.2 Preferred for body text
Black text on #581B4F 1.68:1 Fails Lc 0.0 Not readable
#581B4F text on white 12.46:1 AAA Lc 97.6 Preferred for body text
#581B4F text on black 1.68: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EDCEE6

    oklch(88.4% 0.047 333.8)

  4. Step 300

    300

    #E3ADD7

    oklch(81% 0.083 334.4)

  5. Step 400

    400

    #D37FC3

    oklch(70.8% 0.135 334.2)

  6. Step 500

    500

    #C55BB3

    oklch(63.1% 0.171 334.3)

  7. Step 600

    600

    #B03C9F

    oklch(55.5% 0.187 334.1)

  8. Step 700

    700

    #972D88

    oklch(49.1% 0.174 334.1)

  9. Step 800

    800

    #7B276F

    oklch(42.7% 0.145 334)

  10. Step 900

    900 (this color)

    #581B4F

    oklch(33.9% 0.112 334.1)

  11. Step 950

    950

    #3A1734

    oklch(26.9% 0.07 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#581B4F 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)#1A2E510.119
Deuteranopia (no green cones)#2E374D0.103
Tritanopia (no blue cones)#5C20320.057
Achromatopsia (no color)#3434340.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #581B4F

    #581B4F

    oklch(33.9% 0.112 334.1)

  • #004422

    #004422

    oklch(33.9% 0.086 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #581B4F

    #581B4F

    oklch(33.9% 0.112 334.1)

  • #452466

    #452466

    oklch(33.9% 0.113 304)

  • #631531

    #631531

    oklch(33.9% 0.112 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #581B4F

    #581B4F

    oklch(33.9% 0.112 334.1)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

  • #00423B

    #00423B

    oklch(34% 0.061 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #581B4F

    #581B4F

    oklch(33.9% 0.112 334.1)

  • #443700

    #443700

    oklch(34.1% 0.07 94.2)

  • #003F4B

    #003F4B

    oklch(33.9% 0.06 215.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #581B4F

    #581B4F

    oklch(33.9% 0.112 334.1)

  • #532E00

    #532E00

    oklch(34.1% 0.077 64.3)

  • #004422

    #004422

    oklch(33.9% 0.086 154)

  • #003B5F

    #003B5F

    oklch(33.9% 0.083 243.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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