#5A4272

Closest named color: Dusk (#4E5481). oklch(42.6% 0.082 306.2), rgb(90, 66, 114).

Aa

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

About this color

#5A4272 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.082 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.053 away. White text reads best on it, at 8.54:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.45:1
White text8.54:1

Values

HEX#5A4272
RGBrgb(90, 66, 114)
HSLhsl(270, 27%, 35%)
OKLCHoklch(42.6% 0.082 306.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 #5A4272 8.54:1 AAA Lc -93.8 Preferred for body text
Black text on #5A4272 2.45:1 Fails Lc 14.7 Not readable
#5A4272 text on white 8.54:1 AAA Lc 89.3 Fine for body text
#5A4272 text on black 2.45:1 Fails Lc -12.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

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DDD5E7

    oklch(88.5% 0.026 305.8)

  4. Step 300

    300

    #C8B9DA

    oklch(80.9% 0.049 305.9)

  5. Step 400

    400

    #AC94C7

    oklch(70.6% 0.078 305.9)

  6. Step 500

    500

    #987AB8

    oklch(63.1% 0.097 306)

  7. Step 600

    600

    #8362A4

    oklch(55.6% 0.106 306.3)

  8. Step 700

    700

    #6F518D

    oklch(49.2% 0.099 306.1)

  9. Step 800

    800 (this color)

    #5A4272

    oklch(42.6% 0.082 306.2)

  10. Step 900

    900

    #4A385C

    oklch(37.6% 0.064 306.5)

  11. Step 950

    950

    #2B2136

    oklch(26.9% 0.04 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A4272 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)#374B740.058
Deuteranopia (no green cones)#3D4D710.054
Tritanopia (no blue cones)#5649540.061
Achromatopsia (no color)#4C4C4C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A4272

    #5A4272

    oklch(42.6% 0.082 306.2)

  • #435721

    #435721

    oklch(42.7% 0.083 126.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A4272

    #5A4272

    oklch(42.6% 0.082 306.2)

  • #434A7B

    #434A7B

    oklch(42.6% 0.082 276.2)

  • #6A3C60

    #6A3C60

    oklch(42.5% 0.082 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A4272

    #5A4272

    oklch(42.6% 0.082 306.2)

  • #5C4E0C

    #5C4E0C

    oklch(42.6% 0.082 96.1)

  • #215C3B

    #215C3B

    oklch(42.6% 0.083 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A4272

    #5A4272

    oklch(42.6% 0.082 306.2)

  • #6D4515

    #6D4515

    oklch(42.8% 0.082 66.6)

  • #005C55

    #005C55

    oklch(42.7% 0.075 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A4272

    #5A4272

    oklch(42.6% 0.082 306.2)

  • #753D2E

    #753D2E

    oklch(42.7% 0.082 35.9)

  • #435721

    #435721

    oklch(42.7% 0.083 126.7)

  • #005969

    #005969

    oklch(42.7% 0.076 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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