#5B428D

Closest named color: Dark Slate Blue (#483D8B). oklch(44.3% 0.12 296.6), rgb(91, 66, 141).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.60:1
White text8.04:1

Values

HEX#5B428D
RGBrgb(91, 66, 141)
HSLhsl(260, 36%, 41%)
OKLCHoklch(44.3% 0.12 296.6)

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 #5B428D 8.04:1 AAA Lc -92.4 Preferred for body text
Black text on #5B428D 2.60:1 Fails Lc 16.3 Dividers and decoration only
#5B428D text on white 8.04:1 AAA Lc 87.7 Fine for body text
#5B428D text on black 2.60:1 Fails Lc -14.5 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

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DBD4F1

    oklch(88.4% 0.04 296.6)

  4. Step 300

    300

    #C5B8E9

    oklch(81% 0.07 297)

  5. Step 400

    400

    #A791DE

    oklch(70.6% 0.112 296.5)

  6. Step 500

    500

    #9374D5

    oklch(63% 0.144 296.8)

  7. Step 600

    600

    #7E5BC2

    oklch(55.6% 0.155 296.7)

  8. Step 700

    700

    #6A4AA8

    oklch(49.1% 0.145 296.3)

  9. Step 800

    800 (this color)

    #5B428D

    oklch(44.3% 0.12 296.6)

  10. Step 900

    900

    #47356D

    oklch(37.7% 0.094 296.4)

  11. Step 950

    950

    #291F40

    oklch(26.9% 0.061 296)

Export this scale for Tailwind in the Tailwind colors tool

#5B428D 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)#2550900.078
Deuteranopia (no green cones)#2B4F8B0.073
Tritanopia (no blue cones)#5051610.095
Achromatopsia (no color)#5050500.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B428D

    #5B428D

    oklch(44.3% 0.12 296.6)

  • #505A00

    #505A00

    oklch(44.3% 0.102 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B428D

    #5B428D

    oklch(44.3% 0.12 296.6)

  • #354E95

    #354E95

    oklch(44.3% 0.12 266.9)

  • #753876

    #753876

    oklch(44.4% 0.12 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B428D

    #5B428D

    oklch(44.3% 0.12 296.6)

  • #694F00

    #694F00

    oklch(44.3% 0.091 86.7)

  • #166427

    #166427

    oklch(44.3% 0.12 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B428D

    #5B428D

    oklch(44.3% 0.12 296.6)

  • #7F4100

    #7F4100

    oklch(44.5% 0.108 56.8)

  • #006252

    #006252

    oklch(44.3% 0.083 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B428D

    #5B428D

    oklch(44.3% 0.12 296.6)

  • #8A332D

    #8A332D

    oklch(44.4% 0.12 27)

  • #505A00

    #505A00

    oklch(44.3% 0.102 117)

  • #005F68

    #005F68

    oklch(44.3% 0.076 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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