#5B417A

Closest named color: Dark Slate Blue (#483D8B). oklch(43% 0.095 303.7), rgb(91, 65, 122).

Aa

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

About this color

#5B417A is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.095 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.047 away. White text reads best on it, at 8.46:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.48:1
White text8.46:1

Values

HEX#5B417A
RGBrgb(91, 65, 122)
HSLhsl(267, 30%, 37%)
OKLCHoklch(43% 0.095 303.7)

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 #5B417A 8.46:1 AAA Lc -93.6 Preferred for body text
Black text on #5B417A 2.48:1 Fails Lc 15.0 Not readable
#5B417A text on white 8.46:1 AAA Lc 89.0 Fine for body text
#5B417A text on black 2.48:1 Fails Lc -13.2 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 800.

  1. Step 50

    50

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B8DF

    oklch(80.9% 0.057 303.8)

  5. Step 400

    400

    #AC93CE

    oklch(70.7% 0.089 303.6)

  6. Step 500

    500

    #9877C2

    oklch(63.1% 0.115 303.5)

  7. Step 600

    600

    #835FAE

    oklch(55.6% 0.124 303.7)

  8. Step 700

    700

    #6F4E95

    oklch(49.1% 0.115 303.9)

  9. Step 800

    800 (this color)

    #5B417A

    oklch(43% 0.095 303.7)

  10. Step 900

    900

    #4A3762

    oklch(37.7% 0.075 303.4)

  11. Step 950

    950

    #2B2039

    oklch(26.9% 0.047 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B417A 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)#324C7C0.066
Deuteranopia (no green cones)#384D790.061
Tritanopia (no blue cones)#564B570.073
Achromatopsia (no color)#4D4D4D0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B417A

    #5B417A

    oklch(43% 0.095 303.7)

  • #455812

    #455812

    oklch(43% 0.096 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B417A

    #5B417A

    oklch(43% 0.095 303.7)

  • #404A84

    #404A84

    oklch(43% 0.096 274.3)

  • #6E3A65

    #6E3A65

    oklch(43% 0.094 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B417A

    #5B417A

    oklch(43% 0.095 303.7)

  • #604E00

    #604E00

    oklch(43% 0.088 93.6)

  • #195E36

    #195E36

    oklch(42.9% 0.095 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B417A

    #5B417A

    oklch(43% 0.095 303.7)

  • #734204

    #734204

    oklch(42.9% 0.095 63.6)

  • #005D54

    #005D54

    oklch(43% 0.076 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B417A

    #5B417A

    oklch(43% 0.095 303.7)

  • #7B392B

    #7B392B

    oklch(42.9% 0.095 33.4)

  • #455812

    #455812

    oklch(43% 0.096 123.9)

  • #005A69

    #005A69

    oklch(43% 0.076 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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