#522666

Closest named color: Grape Purple (#5D1451). oklch(36% 0.114 313.9), rgb(82, 38, 102).

Aa

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

About this color

#522666 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.114 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 11.48:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.82:1
White text11.48:1

Values

HEX#522666
RGBrgb(82, 38, 102)
HSLhsl(281, 46%, 27%)
OKLCHoklch(36% 0.114 313.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 #522666 11.48:1 AAA Lc -99.8 Preferred for body text
Black text on #522666 1.82:1 Fails Lc 7.9 Not readable
#522666 text on white 11.48:1 AAA Lc 96.0 Preferred for body text
#522666 text on black 1.82:1 Fails Lc 0.0 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300

    #D5B1E8

    oklch(81% 0.085 313.8)

  5. Step 400

    400

    #BF85DC

    oklch(70.6% 0.137 313.8)

  6. Step 500

    500

    #AF63D2

    oklch(63.1% 0.175 314.1)

  7. Step 600

    600

    #9A47BF

    oklch(55.6% 0.189 313.9)

  8. Step 700

    700

    #8437A5

    oklch(49.2% 0.177 314.1)

  9. Step 800

    800

    #6B2F86

    oklch(42.8% 0.146 313.7)

  10. Step 900

    900 (this color)

    #522666

    oklch(36% 0.114 313.9)

  11. Step 950

    950

    #331A3F

    oklch(27.1% 0.072 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#522666 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)#1237680.103
Deuteranopia (no green cones)#243A640.090
Tritanopia (no blue cones)#5031420.076
Achromatopsia (no color)#3939390.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #522666

    #522666

    oklch(36% 0.114 313.9)

  • #244800

    #244800

    oklch(36% 0.104 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #522666

    #522666

    oklch(36% 0.114 313.9)

  • #383176

    #383176

    oklch(36.1% 0.114 283.7)

  • #631E4C

    #631E4C

    oklch(36% 0.114 343.4)

Open the analogous palette in the generator

Split complementary

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

  • #522666

    #522666

    oklch(36% 0.114 313.9)

  • #443E00

    #443E00

    oklch(35.9% 0.076 103.4)

  • #004932

    #004932

    oklch(35.9% 0.076 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #522666

    #522666

    oklch(36% 0.114 313.9)

  • #543600

    #543600

    oklch(36% 0.076 74.7)

  • #004746

    #004746

    oklch(36% 0.062 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #522666

    #522666

    oklch(36% 0.114 313.9)

  • #682500

    #682500

    oklch(36% 0.106 43.6)

  • #244800

    #244800

    oklch(36% 0.104 134.1)

  • #004457

    #004457

    oklch(35.9% 0.067 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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