#5B458B

Closest named color: Twilight (#4E518B). oklch(44.8% 0.112 296), rgb(91, 69, 139).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.66:1
White text7.86:1

Values

HEX#5B458B
RGBrgb(91, 69, 139)
HSLhsl(259, 34%, 41%)
OKLCHoklch(44.8% 0.112 296)

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 #5B458B 7.86:1 AAA Lc -91.9 Preferred for body text
Black text on #5B458B 2.66:1 Fails Lc 16.9 Dividers and decoration only
#5B458B text on white 7.86:1 AAA Lc 87.1 Fine for body text
#5B458B text on black 2.66:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E7

    oklch(81% 0.065 295.9)

  5. Step 400

    400

    #A693DB

    oklch(70.7% 0.105 295.7)

  6. Step 500

    500

    #9176D1

    oklch(63% 0.135 296)

  7. Step 600

    600

    #7C5DBE

    oklch(55.5% 0.147 296)

  8. Step 700

    700

    #694DA4

    oklch(49.2% 0.135 295.9)

  9. Step 800

    800 (this color)

    #5B458B

    oklch(44.8% 0.112 296)

  10. Step 900

    900

    #46366A

    oklch(37.6% 0.088 296.1)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B458B 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)#2C528D0.070
Deuteranopia (no green cones)#3151890.066
Tritanopia (no blue cones)#5052610.089
Achromatopsia (no color)#5252520.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B458B

    #5B458B

    oklch(44.8% 0.112 296)

  • #525B00

    #525B00

    oklch(44.8% 0.103 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B458B

    #5B458B

    oklch(44.8% 0.112 296)

  • #375192

    #375192

    oklch(44.8% 0.111 265.7)

  • #743B75

    #743B75

    oklch(44.7% 0.113 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B458B

    #5B458B

    oklch(44.8% 0.112 296)

  • #6B5000

    #6B5000

    oklch(44.7% 0.092 86.1)

  • #21642B

    #21642B

    oklch(44.7% 0.112 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B458B

    #5B458B

    oklch(44.8% 0.112 296)

  • #814100

    #814100

    oklch(44.8% 0.11 55.8)

  • #006353

    #006353

    oklch(44.7% 0.083 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B458B

    #5B458B

    oklch(44.8% 0.112 296)

  • #883732

    #883732

    oklch(44.8% 0.112 26.1)

  • #525B00

    #525B00

    oklch(44.8% 0.103 116.2)

  • #006069

    #006069

    oklch(44.7% 0.076 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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