#5B437E

Closest named color: Twilight (#4E518B). oklch(43.6% 0.097 301.2), rgb(91, 67, 126).

Aa

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

About this color

#5B437E is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.097 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.043 away. White text reads best on it, at 8.23:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.54:1
White text8.23:1

Values

HEX#5B437E
RGBrgb(91, 67, 126)
HSLhsl(264, 31%, 38%)
OKLCHoklch(43.6% 0.097 301.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 #5B437E 8.23:1 AAA Lc -93.0 Preferred for body text
Black text on #5B437E 2.54:1 Fails Lc 15.7 Dividers and decoration only
#5B437E text on white 8.23:1 AAA Lc 88.3 Fine for body text
#5B437E text on black 2.54:1 Fails Lc -13.8 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

    #EBE7F3

    oklch(93.5% 0.017 301.2)

  3. Step 200

    200

    #DCD5EB

    oklch(88.5% 0.031 300.3)

  4. Step 300

    300

    #C7B9E0

    oklch(81% 0.056 301.5)

  5. Step 400

    400

    #AA93D1

    oklch(70.6% 0.092 301.1)

  6. Step 500

    500

    #9678C4

    oklch(63.1% 0.115 301.4)

  7. Step 600

    600

    #815FB1

    oklch(55.6% 0.127 301.5)

  8. Step 700

    700

    #6D4E98

    oklch(49.1% 0.118 301.5)

  9. Step 800

    800 (this color)

    #5B437E

    oklch(43.6% 0.097 301.2)

  10. Step 900

    900

    #493763

    oklch(37.7% 0.076 301.7)

  11. Step 950

    950

    #2B213A

    oklch(27.2% 0.047 301.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B437E 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)#324E800.065
Deuteranopia (no green cones)#384E7D0.059
Tritanopia (no blue cones)#544D5A0.075
Achromatopsia (no color)#4F4F4F0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B437E

    #5B437E

    oklch(43.6% 0.097 301.2)

  • #49590E

    #49590E

    oklch(43.5% 0.098 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B437E

    #5B437E

    oklch(43.6% 0.097 301.2)

  • #3E4D87

    #3E4D87

    oklch(43.7% 0.097 271)

  • #6F3B6A

    #6F3B6A

    oklch(43.5% 0.098 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B437E

    #5B437E

    oklch(43.6% 0.097 301.2)

  • #644F00

    #644F00

    oklch(43.7% 0.089 91.1)

  • #1E6034

    #1E6034

    oklch(43.6% 0.098 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B437E

    #5B437E

    oklch(43.6% 0.097 301.2)

  • #774307

    #774307

    oklch(43.7% 0.097 61.5)

  • #005F54

    #005F54

    oklch(43.5% 0.078 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B437E

    #5B437E

    oklch(43.6% 0.097 301.2)

  • #7E3A2E

    #7E3A2E

    oklch(43.5% 0.097 31.6)

  • #49590E

    #49590E

    oklch(43.5% 0.098 121.5)

  • #005C69

    #005C69

    oklch(43.5% 0.076 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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