#524A95

Closest named color: Twilight (#4E518B). oklch(45.5% 0.119 285.5), rgb(82, 74, 149).

Aa

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

About this color

#524A95 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.119 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.028 away. White text reads best on it, at 7.57:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.77:1
White text7.57:1

Values

HEX#524A95
RGBrgb(82, 74, 149)
HSLhsl(246, 34%, 44%)
OKLCHoklch(45.5% 0.119 285.5)

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 #524A95 7.57:1 AAA Lc -91.0 Preferred for body text
Black text on #524A95 2.77:1 Fails Lc 17.9 Dividers and decoration only
#524A95 text on white 7.57:1 AAA Lc 86.1 Fine for body text
#524A95 text on black 2.77:1 Fails Lc -15.9 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 800.

  1. Step 50

    50

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBEC

    oklch(80.9% 0.069 285.7)

  5. Step 400

    400

    #9A96E3

    oklch(70.7% 0.111 285.5)

  6. Step 500

    500

    #837ADB

    oklch(63.1% 0.143 285.8)

  7. Step 600

    600

    #6D61C8

    oklch(55.5% 0.154 285.5)

  8. Step 700

    700

    #5C50AD

    oklch(49.1% 0.143 285.7)

  9. Step 800

    800 (this color)

    #524A95

    oklch(45.5% 0.119 285.5)

  10. Step 900

    900

    #3E3870

    oklch(37.6% 0.093 285.9)

  11. Step 950

    950

    #242142

    oklch(26.9% 0.06 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#524A95 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)#2A56980.056
Deuteranopia (no green cones)#2852930.055
Tritanopia (no blue cones)#3D5A680.102
Achromatopsia (no color)#5454540.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #524A95

    #524A95

    oklch(45.5% 0.119 285.5)

  • #5F5900

    #5F5900

    oklch(45.5% 0.097 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524A95

    #524A95

    oklch(45.5% 0.119 285.5)

  • #235797

    #235797

    oklch(45.6% 0.118 255.4)

  • #6F3F83

    #6F3F83

    oklch(45.5% 0.118 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #524A95

    #524A95

    oklch(45.5% 0.119 285.5)

  • #754E00

    #754E00

    oklch(45.6% 0.096 75.8)

  • #366517

    #366517

    oklch(45.6% 0.119 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524A95

    #524A95

    oklch(45.5% 0.119 285.5)

  • #8A3C10

    #8A3C10

    oklch(45.4% 0.119 45.3)

  • #00674A

    #00674A

    oklch(45.5% 0.095 165.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524A95

    #524A95

    oklch(45.5% 0.119 285.5)

  • #8C3540

    #8C3540

    oklch(45.4% 0.118 15.6)

  • #5F5900

    #5F5900

    oklch(45.5% 0.097 105.1)

  • #006464

    #006464

    oklch(45.6% 0.078 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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