#522E97

Closest named color: Rebecca Purple (#663399). oklch(40.9% 0.162 293.7), rgb(82, 46, 151).

Aa

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

About this color

#522E97 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.162 and its hue 294°. 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.56:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.162)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.19:1
White text9.56:1

Values

HEX#522E97
RGBrgb(82, 46, 151)
HSLhsl(261, 53%, 39%)
OKLCHoklch(40.9% 0.162 293.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 #522E97 9.56:1 AAA Lc -95.8 Preferred for body text
Black text on #522E97 2.19:1 Fails Lc 12.4 Not readable
#522E97 text on white 9.56:1 AAA Lc 91.5 Preferred for body text
#522E97 text on black 2.19:1 Fails Lc -10.8 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

    #DAD3F9

    oklch(88.4% 0.052 293.7)

  4. Step 300

    300

    #C3B5F8

    oklch(80.8% 0.094 293.8)

  5. Step 400

    400

    #A68CF5

    oklch(70.7% 0.151 293.6)

  6. Step 500

    500

    #926BF1

    oklch(63.1% 0.193 293.5)

  7. Step 600

    600

    #7E4EDF

    oklch(55.6% 0.209 293.7)

  8. Step 700

    700

    #6B3DC2

    oklch(49.1% 0.196 293.8)

  9. Step 800

    800 (this color)

    #522E97

    oklch(40.9% 0.162 293.7)

  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

#522E97 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)#00469A0.097
Deuteranopia (no green cones)#0043950.096
Tritanopia (no blue cones)#3E485F0.127
Achromatopsia (no color)#4545450.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #522E97

    #522E97

    oklch(40.9% 0.162 293.7)

  • #4A4F00

    #4A4F00

    oklch(40.9% 0.092 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522E97

    #522E97

    oklch(40.9% 0.162 293.7)

  • #1940A0

    #1940A0

    oklch(40.9% 0.162 263.8)

  • #711D7A

    #711D7A

    oklch(40.8% 0.162 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #522E97

    #522E97

    oklch(40.9% 0.162 293.7)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

  • #005B0B

    #005B0B

    oklch(40.9% 0.134 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522E97

    #522E97

    oklch(40.9% 0.162 293.7)

  • #733700

    #733700

    oklch(40.8% 0.103 53.8)

  • #005747

    #005747

    oklch(40.8% 0.077 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522E97

    #522E97

    oklch(40.9% 0.162 293.7)

  • #8D0619

    #8D0619

    oklch(40.8% 0.161 23.8)

  • #4A4F00

    #4A4F00

    oklch(40.9% 0.092 113.9)

  • #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 #522E97, closest first.

Similar named colors

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

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