#522684

Closest named color: Indigo (#4B0082). oklch(38.2% 0.15 300.9), rgb(82, 38, 132).

Aa

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

About this color

#522684 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.150 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.053 away. White text reads best on it, at 10.66:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.150)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.96:1
White text10.66:1

Values

HEX#522684
RGBrgb(82, 38, 132)
HSLhsl(268, 55%, 33%)
OKLCHoklch(38.2% 0.15 300.9)

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 #522684 10.66:1 AAA Lc -98.1 Preferred for body text
Black text on #522684 1.96:1 Fails Lc 9.8 Not readable
#522684 text on white 10.66:1 AAA Lc 94.1 Preferred for body text
#522684 text on black 1.96:1 Fails Lc -8.5 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 900.

  1. Step 50

    50

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CDB0FE

    oklch(81% 0.112 301)

  5. Step 400

    400

    #B481FD

    oklch(70.6% 0.18 300.9)

  6. Step 500

    500

    #A35AFB

    oklch(63% 0.23 300.8)

  7. Step 600

    600

    #9036EA

    oklch(55.7% 0.249 301)

  8. Step 700

    700

    #7A25CB

    oklch(49% 0.231 300.8)

  9. Step 800

    800

    #6323A4

    oklch(42.7% 0.191 300.8)

  10. Step 900

    900 (this color)

    #522684

    oklch(38.2% 0.15 300.9)

  11. Step 950

    950

    #2F174C

    oklch(27% 0.094 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#522684 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)#003E870.107
Deuteranopia (no green cones)#003E820.108
Tritanopia (no blue cones)#473C520.111
Achromatopsia (no color)#3E3E3E0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #522684

    #522684

    oklch(38.2% 0.15 300.9)

  • #3C4A00

    #3C4A00

    oklch(38.3% 0.092 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522684

    #522684

    oklch(38.2% 0.15 300.9)

  • #283691

    #283691

    oklch(38.2% 0.15 270.8)

  • #6C1766

    #6C1766

    oklch(38.2% 0.149 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #522684

    #522684

    oklch(38.2% 0.15 300.9)

  • #534100

    #534100

    oklch(38.4% 0.078 90.9)

  • #005224

    #005224

    oklch(38.4% 0.104 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522684

    #522684

    oklch(38.2% 0.15 300.9)

  • #643600

    #643600

    oklch(38.3% 0.089 61.3)

  • #004F45

    #004F45

    oklch(38.3% 0.069 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522684

    #522684

    oklch(38.2% 0.15 300.9)

  • #800C00

    #800C00

    oklch(38.2% 0.149 31)

  • #3C4A00

    #3C4A00

    oklch(38.3% 0.092 121.2)

  • #004C57

    #004C57

    oklch(38.2% 0.066 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #522684 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.