#5941B7

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.1% 0.177 286.8), rgb(89, 65, 183).

Aa

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

About this color

#5941B7 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.177 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.028 away. White text reads best on it, at 7.33:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.177)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.86:1
White text7.33:1

Values

HEX#5941B7
RGBrgb(89, 65, 183)
HSLhsl(252, 48%, 49%)
OKLCHoklch(47.1% 0.177 286.8)

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 #5941B7 7.33:1 AAA Lc -89.9 Fine for body text
Black text on #5941B7 2.86:1 Fails Lc 19.1 Dividers and decoration only
#5941B7 text on white 7.33:1 AAA Lc 85.0 Fine for body text
#5941B7 text on black 2.86:1 Fails Lc -17.0 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BCB9F6

    oklch(81% 0.086 286.6)

  5. Step 400

    400

    #9B92F1

    oklch(70.7% 0.137 286.7)

  6. Step 500

    500

    #8573EC

    oklch(63% 0.176 287.1)

  7. Step 600

    600

    #7058DB

    oklch(55.5% 0.192 286.8)

  8. Step 700

    700 (this color)

    #5941B7

    oklch(47.1% 0.177 286.8)

  9. Step 800

    800

    #4D3C99

    oklch(42.8% 0.145 286.9)

  10. Step 900

    900

    #3F347A

    oklch(37.6% 0.115 286.7)

  11. Step 950

    950

    #251F47

    oklch(26.9% 0.072 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#5941B7 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)#0059BB0.090
Deuteranopia (no green cones)#0053B50.088
Tritanopia (no blue cones)#365E760.147
Achromatopsia (no color)#5656560.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #5941B7

    #5941B7

    oklch(47.1% 0.177 286.8)

  • #625E00

    #625E00

    oklch(47% 0.101 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5941B7

    #5941B7

    oklch(47.1% 0.177 286.8)

  • #0057B5

    #0057B5

    oklch(47.1% 0.165 256.7)

  • #812E9B

    #812E9B

    oklch(47.1% 0.178 317)

Open the analogous palette in the generator

Split complementary

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

  • #5941B7

    #5941B7

    oklch(47.1% 0.177 286.8)

  • #7A5200

    #7A5200

    oklch(47.1% 0.099 76.3)

  • #2E6C00

    #2E6C00

    oklch(47.1% 0.143 137)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5941B7

    #5941B7

    oklch(47.1% 0.177 286.8)

  • #933E00

    #933E00

    oklch(47.1% 0.13 47.2)

  • #006C4F

    #006C4F

    oklch(47.1% 0.097 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5941B7

    #5941B7

    oklch(47.1% 0.177 286.8)

  • #A71435

    #A71435

    oklch(47% 0.177 17)

  • #625E00

    #625E00

    oklch(47% 0.101 106.8)

  • #00696A

    #00696A

    oklch(47.2% 0.08 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5941B7 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.