#5B447A

Closest named color: Twilight (#4E518B). oklch(43.5% 0.09 302.5), rgb(91, 68, 122).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.55:1
White text8.22:1

Values

HEX#5B447A
RGBrgb(91, 68, 122)
HSLhsl(266, 28%, 37%)
OKLCHoklch(43.5% 0.09 302.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 #5B447A 8.22:1 AAA Lc -92.9 Preferred for body text
Black text on #5B447A 2.55:1 Fails Lc 15.7 Dividers and decoration only
#5B447A text on white 8.22:1 AAA Lc 88.3 Fine for body text
#5B447A text on black 2.55:1 Fails Lc -13.9 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F3

    oklch(93.7% 0.015 302.5)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C7B9DD

    oklch(80.9% 0.052 302.9)

  5. Step 400

    400

    #AB94CC

    oklch(70.7% 0.084 303.1)

  6. Step 500

    500

    #9679BF

    oklch(63.1% 0.107 302.5)

  7. Step 600

    600

    #8161AC

    oklch(55.7% 0.117 302.4)

  8. Step 700

    700

    #6D5093

    oklch(49.1% 0.108 302.6)

  9. Step 800

    800 (this color)

    #5B447A

    oklch(43.5% 0.09 302.5)

  10. Step 900

    900

    #493860

    oklch(37.7% 0.069 302.8)

  11. Step 950

    950

    #2B2138

    oklch(27% 0.044 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B447A 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)#364E7C0.060
Deuteranopia (no green cones)#3B4F790.056
Tritanopia (no blue cones)#564D590.068
Achromatopsia (no color)#4F4F4F0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #495919

    #495919

    oklch(43.6% 0.09 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #414D83

    #414D83

    oklch(43.6% 0.09 272.7)

  • #6E3D67

    #6E3D67

    oklch(43.6% 0.091 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #634F00

    #634F00

    oklch(43.6% 0.089 92)

  • #225F38

    #225F38

    oklch(43.5% 0.09 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #744412

    #744412

    oklch(43.5% 0.09 61.5)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B447A

    #5B447A

    oklch(43.5% 0.09 302.5)

  • #7B3C30

    #7B3C30

    oklch(43.5% 0.091 32.1)

  • #495919

    #495919

    oklch(43.6% 0.09 122.3)

  • #005C6A

    #005C6A

    oklch(43.6% 0.076 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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