#524EA1

Closest named color: Twilight (#4E518B). oklch(47.1% 0.13 282.3), rgb(82, 78, 161).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.96:1
White text7.08:1

Values

HEX#524EA1
RGBrgb(82, 78, 161)
HSLhsl(243, 35%, 47%)
OKLCHoklch(47.1% 0.13 282.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 #524EA1 7.08:1 AAA Lc -89.3 Fine for body text
Black text on #524EA1 2.96:1 Fails Lc 19.7 Dividers and decoration only
#524EA1 text on white 7.08:1 AAA Lc 84.4 Fine for body text
#524EA1 text on black 2.96:1 Fails Lc -17.6 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 700.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE9

    oklch(80.9% 0.063 282.9)

  5. Step 400

    400

    #9799DE

    oklch(70.8% 0.1 282.2)

  6. Step 500

    500

    #7E7ED5

    oklch(63.1% 0.129 282.1)

  7. Step 600

    600

    #6966C2

    oklch(55.7% 0.139 282.4)

  8. Step 700

    700 (this color)

    #524EA1

    oklch(47.1% 0.13 282.3)

  9. Step 800

    800

    #474588

    oklch(42.7% 0.108 282.1)

  10. Step 900

    900

    #3B3B6D

    oklch(37.8% 0.084 281.6)

  11. Step 950

    950

    #232340

    oklch(27.2% 0.053 282.3)

Export this scale for Tailwind in the Tailwind colors tool

#524EA1 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)#275BA40.056
Deuteranopia (no green cones)#21559F0.057
Tritanopia (no blue cones)#3660700.111
Achromatopsia (no color)#5858580.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #524EA1

    #524EA1

    oklch(47.1% 0.13 282.3)

  • #665C00

    #665C00

    oklch(47% 0.098 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524EA1

    #524EA1

    oklch(47.1% 0.13 282.3)

  • #145CA1

    #145CA1

    oklch(47.1% 0.13 252.3)

  • #74418F

    #74418F

    oklch(47.1% 0.131 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #524EA1

    #524EA1

    oklch(47.1% 0.13 282.3)

  • #7D5000

    #7D5000

    oklch(47.1% 0.101 72.2)

  • #3D6903

    #3D6903

    oklch(47% 0.13 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524EA1

    #524EA1

    oklch(47.1% 0.13 282.3)

  • #943C11

    #943C11

    oklch(47.1% 0.13 42.6)

  • #006C49

    #006C49

    oklch(47% 0.102 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524EA1

    #524EA1

    oklch(47.1% 0.13 282.3)

  • #953547

    #953547

    oklch(47.1% 0.129 12.3)

  • #665C00

    #665C00

    oklch(47% 0.098 102.1)

  • #006967

    #006967

    oklch(47.1% 0.081 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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