#524B7E

Closest named color: Twilight (#4E518B). oklch(44.3% 0.083 288.9), rgb(82, 75, 126).

Aa

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

About this color

#524B7E is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.083 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.024 away. White text reads best on it, at 7.87:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.66:1
White text7.87:1

Values

HEX#524B7E
RGBrgb(82, 75, 126)
HSLhsl(248, 25%, 39%)
OKLCHoklch(44.3% 0.083 288.9)

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 #524B7E 7.87:1 AAA Lc -92.0 Preferred for body text
Black text on #524B7E 2.66:1 Fails Lc 16.7 Dividers and decoration only
#524B7E text on white 7.87:1 AAA Lc 87.3 Fine for body text
#524B7E text on black 2.66:1 Fails Lc -14.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #BFBCDF

    oklch(80.9% 0.049 289.2)

  5. Step 400

    400

    #9E99CE

    oklch(70.6% 0.077 288.6)

  6. Step 500

    500

    #877FC2

    oklch(63% 0.1 288.7)

  7. Step 600

    600

    #7268AE

    oklch(55.7% 0.107 289)

  8. Step 700

    700

    #5F5695

    oklch(49% 0.099 288.8)

  9. Step 800

    800 (this color)

    #524B7E

    oklch(44.3% 0.083 288.9)

  10. Step 900

    900

    #403C62

    oklch(37.8% 0.064 287.7)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#524B7E 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)#3B53800.038
Deuteranopia (no green cones)#3B507D0.035
Tritanopia (no blue cones)#47545E0.069
Achromatopsia (no color)#5151510.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #524B7E

    #524B7E

    oklch(44.3% 0.083 288.9)

  • #575718

    #575718

    oklch(44.4% 0.083 109.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524B7E

    #524B7E

    oklch(44.3% 0.083 288.9)

  • #365481

    #365481

    oklch(44.4% 0.083 258.3)

  • #674470

    #674470

    oklch(44.4% 0.082 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #524B7E

    #524B7E

    oklch(44.3% 0.083 288.9)

  • #6C4D13

    #6C4D13

    oklch(44.3% 0.083 78.5)

  • #3B5E30

    #3B5E30

    oklch(44.3% 0.082 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524B7E

    #524B7E

    oklch(44.3% 0.083 288.9)

  • #784427

    #784427

    oklch(44.3% 0.083 48.6)

  • #11624B

    #11624B

    oklch(44.4% 0.083 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524B7E

    #524B7E

    oklch(44.3% 0.083 288.9)

  • #7A3F41

    #7A3F41

    oklch(44.2% 0.082 18.8)

  • #575718

    #575718

    oklch(44.4% 0.083 109.4)

  • #006063

    #006063

    oklch(44.4% 0.076 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #524B7E 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.