#524B8A

Closest named color: Twilight (#4E518B). oklch(45% 0.101 286.7), rgb(82, 75, 138).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.73:1
White text7.68:1

Values

HEX#524B8A
RGBrgb(82, 75, 138)
HSLhsl(247, 30%, 42%)
OKLCHoklch(45% 0.101 286.7)

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 #524B8A 7.68:1 AAA Lc -91.4 Preferred for body text
Black text on #524B8A 2.73:1 Fails Lc 17.4 Dividers and decoration only
#524B8A text on white 7.68:1 AAA Lc 86.6 Fine for body text
#524B8A text on black 2.73:1 Fails Lc -15.5 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6EE

    oklch(88.4% 0.033 287.6)

  4. Step 300

    300

    #BDBCE6

    oklch(81% 0.059 286.1)

  5. Step 400

    400

    #9C98D9

    oklch(70.8% 0.094 286.5)

  6. Step 500

    500

    #857DCE

    oklch(63.1% 0.12 287)

  7. Step 600

    600

    #6F65BB

    oklch(55.6% 0.13 286.7)

  8. Step 700

    700

    #5D53A2

    oklch(49.1% 0.123 286.7)

  9. Step 800

    800 (this color)

    #524B8A

    oklch(45% 0.101 286.7)

  10. Step 900

    900

    #3F3A69

    oklch(37.7% 0.079 286.8)

  11. Step 950

    950

    #25223D

    oklch(26.9% 0.05 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#524B8A 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)#34558C0.046
Deuteranopia (no green cones)#3351890.044
Tritanopia (no blue cones)#4257640.084
Achromatopsia (no color)#5353530.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #524B8A

    #524B8A

    oklch(45% 0.101 286.7)

  • #5C5800

    #5C5800

    oklch(45% 0.096 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524B8A

    #524B8A

    oklch(45% 0.101 286.7)

  • #2D568C

    #2D568C

    oklch(45.1% 0.1 256.1)

  • #6B427A

    #6B427A

    oklch(45% 0.1 316.5)

Open the analogous palette in the generator

Split complementary

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

  • #524B8A

    #524B8A

    oklch(45% 0.101 286.7)

  • #724D00

    #724D00

    oklch(45% 0.094 77)

  • #396225

    #396225

    oklch(45.1% 0.102 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524B8A

    #524B8A

    oklch(45% 0.101 286.7)

  • #81411E

    #81411E

    oklch(45% 0.1 47)

  • #00654A

    #00654A

    oklch(45% 0.092 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524B8A

    #524B8A

    oklch(45% 0.101 286.7)

  • #843B41

    #843B41

    oklch(45.1% 0.101 16.9)

  • #5C5800

    #5C5800

    oklch(45% 0.096 106.6)

  • #006264

    #006264

    oklch(45% 0.077 197.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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