#5B1E45

Closest named color: Grape Purple (#5D1451). oklch(34.3% 0.102 344.5), rgb(91, 30, 69).

Aa

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

About this color

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

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

Values

HEX#5B1E45
RGBrgb(91, 30, 69)
HSLhsl(322, 50%, 24%)
OKLCHoklch(34.3% 0.102 344.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 #5B1E45 12.23:1 AAA Lc -100.9 Preferred for body text
Black text on #5B1E45 1.71:1 Fails Lc 0.0 Not readable
#5B1E45 text on white 12.23:1 AAA Lc 97.3 Preferred for body text
#5B1E45 text on black 1.71: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

    #D680B3

    oklch(70.7% 0.123 344.3)

  6. Step 500

    500

    #C85DA0

    oklch(63% 0.156 344.1)

  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

    #7D2A60

    oklch(42.7% 0.131 344.1)

  10. Step 900

    900 (this color)

    #5B1E45

    oklch(34.3% 0.102 344.5)

  11. Step 950

    950

    #3C182E

    oklch(27.1% 0.065 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B1E45 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)#242F460.110
Deuteranopia (no green cones)#3539440.098
Tritanopia (no blue cones)#611E2E0.043
Achromatopsia (no color)#3535350.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1E45

    #5B1E45

    oklch(34.3% 0.102 344.5)

  • #00442F

    #00442F

    oklch(34.3% 0.072 164.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1E45

    #5B1E45

    oklch(34.3% 0.102 344.5)

  • #4C255C

    #4C255C

    oklch(34.3% 0.101 315.1)

  • #631C28

    #631C28

    oklch(34.4% 0.102 14.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B1E45

    #5B1E45

    oklch(34.3% 0.102 344.5)

  • #204300

    #204300

    oklch(34.3% 0.099 134.6)

  • #004242

    #004242

    oklch(34.3% 0.059 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1E45

    #5B1E45

    oklch(34.3% 0.102 344.5)

  • #3F3A00

    #3F3A00

    oklch(34.3% 0.072 104.2)

  • #003F52

    #003F52

    oklch(34.2% 0.065 225.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1E45

    #5B1E45

    oklch(34.3% 0.102 344.5)

  • #4E3200

    #4E3200

    oklch(34.2% 0.072 74.9)

  • #00442F

    #00442F

    oklch(34.3% 0.072 164.9)

  • #09386C

    #09386C

    oklch(34.3% 0.103 254.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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