#522F6E

Closest named color: Dark Slate Blue (#483D8B). oklch(37.9% 0.109 307.7), rgb(82, 47, 110).

Aa

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

About this color

#522F6E is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.109 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.058 away. White text reads best on it, at 10.54:1.

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

Values

HEX#522F6E
RGBrgb(82, 47, 110)
HSLhsl(273, 40%, 31%)
OKLCHoklch(37.9% 0.109 307.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 #522F6E 10.54:1 AAA Lc -98.2 Preferred for body text
Black text on #522F6E 1.99:1 Fails Lc 9.7 Not readable
#522F6E text on white 10.54:1 AAA Lc 94.2 Preferred for body text
#522F6E text on black 1.99:1 Fails Lc -8.4 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

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F1

    oklch(88.5% 0.045 307.2)

  4. Step 300

    300

    #CFB3EA

    oklch(80.9% 0.082 307.7)

  5. Step 400

    400

    #B789DF

    oklch(70.7% 0.131 307.9)

  6. Step 500

    500

    #A569D6

    oklch(63.1% 0.167 307.7)

  7. Step 600

    600

    #904EC3

    oklch(55.6% 0.18 307.6)

  8. Step 700

    700

    #7B3EA9

    oklch(49.2% 0.168 307.6)

  9. Step 800

    800

    #643489

    oklch(42.8% 0.14 307.6)

  10. Step 900

    900 (this color)

    #522F6E

    oklch(37.9% 0.109 307.7)

  11. Step 950

    950

    #301C40

    oklch(27.1% 0.068 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#522F6E 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)#1B3E700.088
Deuteranopia (no green cones)#273F6C0.078
Tritanopia (no blue cones)#4E3A490.078
Achromatopsia (no color)#3F3F3F0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #522F6E

    #522F6E

    oklch(37.9% 0.109 307.7)

  • #334B00

    #334B00

    oklch(37.9% 0.098 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522F6E

    #522F6E

    oklch(37.9% 0.109 307.7)

  • #36397A

    #36397A

    oklch(37.9% 0.108 277.9)

  • #652756

    #652756

    oklch(38% 0.108 338)

Open the analogous palette in the generator

Split complementary

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

  • #522F6E

    #522F6E

    oklch(37.9% 0.109 307.7)

  • #4E4200

    #4E4200

    oklch(38% 0.078 97.4)

  • #00502F

    #00502F

    oklch(38% 0.089 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522F6E

    #522F6E

    oklch(37.9% 0.109 307.7)

  • #5F3800

    #5F3800

    oklch(38% 0.084 67.5)

  • #004D48

    #004D48

    oklch(37.8% 0.066 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522F6E

    #522F6E

    oklch(37.9% 0.109 307.7)

  • #702810

    #702810

    oklch(38% 0.108 37.9)

  • #334B00

    #334B00

    oklch(37.9% 0.098 127.6)

  • #004B5A

    #004B5A

    oklch(38.1% 0.068 217)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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