#5D1A46

Closest named color: Grape Purple (#5D1451). oklch(34.2% 0.11 344.2), rgb(93, 26, 70).

Aa

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

About this color

#5D1A46 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.110 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.024 away. White text reads best on it, at 12.34:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.70:1
White text12.34:1

Values

HEX#5D1A46
RGBrgb(93, 26, 70)
HSLhsl(321, 56%, 23%)
OKLCHoklch(34.2% 0.11 344.2)

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 #5D1A46 12.34:1 AAA Lc -100.9 Preferred for body text
Black text on #5D1A46 1.70:1 Fails Lc 0.0 Not readable
#5D1A46 text on white 12.34:1 AAA Lc 97.3 Preferred for body text
#5D1A46 text on black 1.70: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

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #F0CEE0

    oklch(88.5% 0.045 344.9)

  4. Step 300

    300

    #E8ACCE

    oklch(81% 0.082 344.1)

  5. Step 400

    400

    #DA7DB5

    oklch(70.8% 0.133 344.1)

  6. Step 500

    500

    #CD58A2

    oklch(63.1% 0.17 344.2)

  7. Step 600

    600

    #B8398D

    oklch(55.6% 0.184 344.2)

  8. Step 700

    700

    #9E2A78

    oklch(49.1% 0.171 344.1)

  9. Step 800

    800

    #802561

    oklch(42.6% 0.141 344.3)

  10. Step 900

    900 (this color)

    #5D1A46

    oklch(34.2% 0.11 344.2)

  11. Step 950

    950

    #3D162F

    oklch(27% 0.071 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#5D1A46 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)#212D470.120
Deuteranopia (no green cones)#3539440.107
Tritanopia (no blue cones)#631A2D0.047
Achromatopsia (no color)#3535350.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D1A46

    #5D1A46

    oklch(34.2% 0.11 344.2)

  • #00442E

    #00442E

    oklch(34.2% 0.073 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D1A46

    #5D1A46

    oklch(34.2% 0.11 344.2)

  • #4D225F

    #4D225F

    oklch(34.2% 0.11 314.7)

  • #651726

    #651726

    oklch(34.2% 0.11 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #5D1A46

    #5D1A46

    oklch(34.2% 0.11 344.2)

  • #214300

    #214300

    oklch(34.3% 0.099 134.1)

  • #004241

    #004241

    oklch(34.3% 0.059 193.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D1A46

    #5D1A46

    oklch(34.2% 0.11 344.2)

  • #3F3A00

    #3F3A00

    oklch(34.3% 0.072 104.2)

  • #003F51

    #003F51

    oklch(34.2% 0.064 224.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D1A46

    #5D1A46

    oklch(34.2% 0.11 344.2)

  • #4E3200

    #4E3200

    oklch(34.2% 0.072 74.9)

  • #00442E

    #00442E

    oklch(34.2% 0.073 163.9)

  • #00386F

    #00386F

    oklch(34.3% 0.109 253.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5D1A46 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.