#5B1A4F

Closest named color: Grape Purple (#5D1451). oklch(34.3% 0.116 336), rgb(91, 26, 79).

Aa

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

About this color

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

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

Values

HEX#5B1A4F
RGBrgb(91, 26, 79)
HSLhsl(311, 56%, 23%)
OKLCHoklch(34.3% 0.116 336)

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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EFCEE5

    oklch(88.6% 0.048 337)

  4. Step 300

    300

    #E5ACD6

    oklch(81% 0.086 336.1)

  5. Step 400

    400

    #D67DC1

    oklch(70.7% 0.139 336.3)

  6. Step 500

    500

    #C858B2

    oklch(63.1% 0.177 335.7)

  7. Step 600

    600

    #B3389D

    oklch(55.5% 0.193 335.9)

  8. Step 700

    700

    #9A2986

    oklch(49.1% 0.179 336.1)

  9. Step 800

    800

    #7D246D

    oklch(42.6% 0.149 335.9)

  10. Step 900

    900 (this color)

    #5B1A4F

    oklch(34.3% 0.116 336)

  11. Step 950

    950

    #3C1634

    oklch(27.1% 0.074 336.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B1A4F 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)#1B2E510.124
Deuteranopia (no green cones)#30384D0.107
Tritanopia (no blue cones)#601E320.057
Achromatopsia (no color)#3535350.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B1A4F

    #5B1A4F

    oklch(34.3% 0.116 336)

  • #004526

    #004526

    oklch(34.3% 0.083 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B1A4F

    #5B1A4F

    oklch(34.3% 0.116 336)

  • #482467

    #482467

    oklch(34.4% 0.115 306)

  • #66142F

    #66142F

    oklch(34.3% 0.116 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B1A4F

    #5B1A4F

    oklch(34.3% 0.116 336)

  • #2D4000

    #2D4000

    oklch(34.2% 0.087 126.2)

  • #00433D

    #00433D

    oklch(34.4% 0.061 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B1A4F

    #5B1A4F

    oklch(34.3% 0.116 336)

  • #443800

    #443800

    oklch(34.3% 0.071 95.6)

  • #00404D

    #00404D

    oklch(34.2% 0.061 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B1A4F

    #5B1A4F

    oklch(34.3% 0.116 336)

  • #532F00

    #532F00

    oklch(34.3% 0.077 65.6)

  • #004526

    #004526

    oklch(34.3% 0.083 156.3)

  • #003B63

    #003B63

    oklch(34.2% 0.088 246.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5B1A4F.

Similar named colors

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

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