#522E98

Closest named color: Rebecca Purple (#663399). oklch(41% 0.163 293.5), rgb(82, 46, 152).

Aa

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

About this color

#522E98 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.163 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.041 away. White text reads best on it, at 9.53:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.163)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.20:1
White text9.53:1

Values

HEX#522E98
RGBrgb(82, 46, 152)
HSLhsl(260, 54%, 39%)
OKLCHoklch(41% 0.163 293.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 #522E98 9.53:1 AAA Lc -95.8 Preferred for body text
Black text on #522E98 2.20:1 Fails Lc 12.5 Not readable
#522E98 text on white 9.53:1 AAA Lc 91.5 Preferred for body text
#522E98 text on black 2.20:1 Fails Lc -10.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C3B5F9

    oklch(80.9% 0.096 293.6)

  5. Step 400

    400

    #A68CF6

    oklch(70.8% 0.152 293.4)

  6. Step 500

    500

    #926AF2

    oklch(63% 0.196 293.6)

  7. Step 600

    600

    #7E4DE0

    oklch(55.6% 0.212 293.7)

  8. Step 700

    700

    #6A3DC3

    oklch(49.1% 0.197 293.2)

  9. Step 800

    800 (this color)

    #522E98

    oklch(41% 0.163 293.5)

  10. Step 900

    900

    #472F7D

    oklch(37.8% 0.126 293.6)

  11. Step 950

    950

    #291C49

    oklch(26.9% 0.08 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#522E98 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)#00479B0.098
Deuteranopia (no green cones)#0043960.096
Tritanopia (no blue cones)#3E485F0.128
Achromatopsia (no color)#4545450.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #522E98

    #522E98

    oklch(41% 0.163 293.5)

  • #4B4F00

    #4B4F00

    oklch(41% 0.091 113.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522E98

    #522E98

    oklch(41% 0.163 293.5)

  • #1740A1

    #1740A1

    oklch(40.9% 0.164 263.5)

  • #721D7B

    #721D7B

    oklch(41% 0.163 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #522E98

    #522E98

    oklch(41% 0.163 293.5)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

  • #005B09

    #005B09

    oklch(40.9% 0.135 143.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522E98

    #522E98

    oklch(41% 0.163 293.5)

  • #743700

    #743700

    oklch(41% 0.104 53.3)

  • #005847

    #005847

    oklch(41.1% 0.078 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522E98

    #522E98

    oklch(41% 0.163 293.5)

  • #8E0419

    #8E0419

    oklch(41% 0.163 23.6)

  • #4B4F00

    #4B4F00

    oklch(41% 0.091 113.1)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #522E98 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.