#522B86

Closest named color: Dark Slate Blue (#483D8B). oklch(39.1% 0.145 299.2), rgb(82, 43, 134).

Aa

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

About this color

#522B86 is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.145 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.044 away. White text reads best on it, at 10.25:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.145)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.04:1
White text10.25:1

Values

HEX#522B86
RGBrgb(82, 43, 134)
HSLhsl(266, 51%, 35%)
OKLCHoklch(39.1% 0.145 299.2)

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 #522B86 10.25:1 AAA Lc -97.4 Preferred for body text
Black text on #522B86 2.04:1 Fails Lc 10.7 Not readable
#522B86 text on white 10.25:1 AAA Lc 93.3 Preferred for body text
#522B86 text on black 2.04:1 Fails Lc -9.2 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

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB1FD

    oklch(80.9% 0.108 299.1)

  5. Step 400

    400

    #B184FC

    oklch(70.7% 0.173 299.2)

  6. Step 500

    500

    #9F5EFA

    oklch(63.1% 0.223 299.1)

  7. Step 600

    600

    #8C3CE9

    oklch(55.7% 0.242 299.3)

  8. Step 700

    700

    #772BCA

    oklch(49.1% 0.225 299.4)

  9. Step 800

    800

    #6027A4

    oklch(42.7% 0.186 298.9)

  10. Step 900

    900 (this color)

    #522B86

    oklch(39.1% 0.145 299.2)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#522B86 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)#0041890.103
Deuteranopia (no green cones)#0040840.103
Tritanopia (no blue cones)#4640540.111
Achromatopsia (no color)#4141410.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #522B86

    #522B86

    oklch(39.1% 0.145 299.2)

  • #404C00

    #404C00

    oklch(39.2% 0.093 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522B86

    #522B86

    oklch(39.1% 0.145 299.2)

  • #273A91

    #273A91

    oklch(38.9% 0.145 269.1)

  • #6C1D6A

    #6C1D6A

    oklch(39% 0.145 329)

Open the analogous palette in the generator

Split complementary

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

  • #522B86

    #522B86

    oklch(39.1% 0.145 299.2)

  • #564200

    #564200

    oklch(39% 0.08 89.1)

  • #005421

    #005421

    oklch(38.9% 0.109 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522B86

    #522B86

    oklch(39.1% 0.145 299.2)

  • #683700

    #683700

    oklch(39.1% 0.092 59.8)

  • #005146

    #005146

    oklch(39% 0.071 179.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522B86

    #522B86

    oklch(39.1% 0.145 299.2)

  • #81130D

    #81130D

    oklch(39% 0.145 29)

  • #404C00

    #404C00

    oklch(39.2% 0.093 119.5)

  • #004F59

    #004F59

    oklch(39.2% 0.068 209.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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