#5B2045

Closest named color: Grape Purple (#5D1451). oklch(34.6% 0.098 344.9), rgb(91, 32, 69).

Aa

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

About this color

#5B2045 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.098 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.034 away. White text reads best on it, at 12.08:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.73:1
White text12.08:1

Values

HEX#5B2045
RGBrgb(91, 32, 69)
HSLhsl(322, 48%, 24%)
OKLCHoklch(34.6% 0.098 344.9)

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 #5B2045 12.08:1 AAA Lc -100.7 Preferred for body text
Black text on #5B2045 1.73:1 Fails Lc 0.0 Not readable
#5B2045 text on white 12.08:1 AAA Lc 97.1 Preferred for body text
#5B2045 text on black 1.73: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

    #EECFDF

    oklch(88.5% 0.04 345.4)

  4. Step 300

    300

    #E4AECC

    oklch(80.9% 0.074 344.4)

  5. Step 400

    400

    #D482B2

    oklch(70.7% 0.117 344.5)

  6. Step 500

    500

    #C75F9E

    oklch(63.1% 0.151 345)

  7. Step 600

    600

    #B24389

    oklch(55.6% 0.163 344.9)

  8. Step 700

    700

    #993474

    oklch(49.2% 0.152 345.2)

  9. Step 800

    800

    #7C2C5F

    oklch(42.7% 0.126 344.6)

  10. Step 900

    900 (this color)

    #5B2045

    oklch(34.6% 0.098 344.9)

  11. Step 950

    950

    #3B182D

    oklch(26.9% 0.063 345.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B2045 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)#2630460.106
Deuteranopia (no green cones)#363A440.096
Tritanopia (no blue cones)#611F2F0.041
Achromatopsia (no color)#3636360.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2045

    #5B2045

    oklch(34.6% 0.098 344.9)

  • #004530

    #004530

    oklch(34.6% 0.073 165.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2045

    #5B2045

    oklch(34.6% 0.098 344.9)

  • #4C275C

    #4C275C

    oklch(34.7% 0.098 314.7)

  • #621E29

    #621E29

    oklch(34.5% 0.098 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B2045

    #5B2045

    oklch(34.6% 0.098 344.9)

  • #214402

    #214402

    oklch(34.7% 0.099 134.7)

  • #004343

    #004343

    oklch(34.7% 0.059 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2045

    #5B2045

    oklch(34.6% 0.098 344.9)

  • #3F3B00

    #3F3B00

    oklch(34.5% 0.073 105.4)

  • #004053

    #004053

    oklch(34.6% 0.066 225.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2045

    #5B2045

    oklch(34.6% 0.098 344.9)

  • #4F3300

    #4F3300

    oklch(34.6% 0.073 75.4)

  • #004530

    #004530

    oklch(34.6% 0.073 165.2)

  • #0E396B

    #0E396B

    oklch(34.6% 0.099 255.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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