#5D427E

Closest named color: Twilight (#4E518B). oklch(43.6% 0.1 303.3), rgb(93, 66, 126).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.54:1
White text8.24:1

Values

HEX#5D427E
RGBrgb(93, 66, 126)
HSLhsl(267, 31%, 38%)
OKLCHoklch(43.6% 0.1 303.3)

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 #5D427E 8.24:1 AAA Lc -93.0 Preferred for body text
Black text on #5D427E 2.54:1 Fails Lc 15.6 Dividers and decoration only
#5D427E text on white 8.24:1 AAA Lc 88.3 Fine for body text
#5D427E text on black 2.54:1 Fails Lc -13.8 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD4EB

    oklch(88.4% 0.033 303.4)

  4. Step 300

    300

    #C8B8E0

    oklch(80.9% 0.058 303.3)

  5. Step 400

    400

    #AC92D1

    oklch(70.6% 0.094 303)

  6. Step 500

    500

    #9876C4

    oklch(63% 0.119 303.2)

  7. Step 600

    600

    #835EB1

    oklch(55.6% 0.129 303)

  8. Step 700

    700

    #6F4D98

    oklch(49.1% 0.12 303.2)

  9. Step 800

    800 (this color)

    #5D427E

    oklch(43.6% 0.1 303.3)

  10. Step 900

    900

    #4A3663

    oklch(37.6% 0.078 303.4)

  11. Step 950

    950

    #2B203A

    oklch(26.9% 0.049 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#5D427E 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)#314E800.070
Deuteranopia (no green cones)#384F7C0.065
Tritanopia (no blue cones)#574C5A0.074
Achromatopsia (no color)#4F4F4F0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D427E

    #5D427E

    oklch(43.6% 0.1 303.3)

  • #475A0E

    #475A0E

    oklch(43.6% 0.1 123.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D427E

    #5D427E

    oklch(43.6% 0.1 303.3)

  • #404C88

    #404C88

    oklch(43.6% 0.1 273.1)

  • #713A69

    #713A69

    oklch(43.6% 0.101 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #5D427E

    #5D427E

    oklch(43.6% 0.1 303.3)

  • #625000

    #625000

    oklch(43.7% 0.09 93.9)

  • #176136

    #176136

    oklch(43.7% 0.1 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D427E

    #5D427E

    oklch(43.6% 0.1 303.3)

  • #774300

    #774300

    oklch(43.6% 0.1 63)

  • #005F56

    #005F56

    oklch(43.6% 0.077 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D427E

    #5D427E

    oklch(43.6% 0.1 303.3)

  • #7F3A2B

    #7F3A2B

    oklch(43.7% 0.099 33.6)

  • #475A0E

    #475A0E

    oklch(43.6% 0.1 123.3)

  • #005C6B

    #005C6B

    oklch(43.6% 0.077 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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