#522D6E

Closest named color: Dark Slate Blue (#483D8B). oklch(37.6% 0.112 308.2), rgb(82, 45, 110).

Aa

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

About this color

#522D6E is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.112 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.061 away. White text reads best on it, at 10.71:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.95:1
White text10.71:1

Values

HEX#522D6E
RGBrgb(82, 45, 110)
HSLhsl(274, 42%, 30%)
OKLCHoklch(37.6% 0.112 308.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 #522D6E 10.71:1 AAA Lc -98.5 Preferred for body text
Black text on #522D6E 1.95:1 Fails Lc 9.4 Not readable
#522D6E text on white 10.71:1 AAA Lc 94.5 Preferred for body text
#522D6E text on black 1.95:1 Fails Lc -8.1 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2EB

    oklch(80.9% 0.085 308.4)

  5. Step 400

    400

    #B888E1

    oklch(70.7% 0.135 308.1)

  6. Step 500

    500

    #A767D8

    oklch(63.1% 0.173 308.4)

  7. Step 600

    600

    #924BC5

    oklch(55.5% 0.187 308.3)

  8. Step 700

    700

    #7C3BAA

    oklch(49% 0.174 308.2)

  9. Step 800

    800

    #65328A

    oklch(42.7% 0.144 308.2)

  10. Step 900

    900 (this color)

    #522D6E

    oklch(37.6% 0.112 308.2)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#522D6E 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)#173C700.092
Deuteranopia (no green cones)#243E6C0.083
Tritanopia (no blue cones)#4E39490.079
Achromatopsia (no color)#3E3E3E0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #522D6E

    #522D6E

    oklch(37.6% 0.112 308.2)

  • #324A00

    #324A00

    oklch(37.5% 0.098 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522D6E

    #522D6E

    oklch(37.6% 0.112 308.2)

  • #36387B

    #36387B

    oklch(37.7% 0.111 278.3)

  • #652555

    #652555

    oklch(37.7% 0.111 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #522D6E

    #522D6E

    oklch(37.6% 0.112 308.2)

  • #4C4100

    #4C4100

    oklch(37.5% 0.078 98.3)

  • #004F2F

    #004F2F

    oklch(37.7% 0.088 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522D6E

    #522D6E

    oklch(37.6% 0.112 308.2)

  • #5D3800

    #5D3800

    oklch(37.7% 0.082 69.1)

  • #004C48

    #004C48

    oklch(37.6% 0.065 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522D6E

    #522D6E

    oklch(37.6% 0.112 308.2)

  • #70250B

    #70250B

    oklch(37.5% 0.112 37.9)

  • #324A00

    #324A00

    oklch(37.5% 0.098 127.7)

  • #004A59

    #004A59

    oklch(37.7% 0.067 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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