#5236AA

Closest named color: Blueberry (#464196). oklch(43.7% 0.175 288), rgb(82, 54, 170).

Aa

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

About this color

#5236AA is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.175 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.044 away. White text reads best on it, at 8.51:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.175)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.46:1
White text8.51:1

Values

HEX#5236AA
RGBrgb(82, 54, 170)
HSLhsl(254, 52%, 44%)
OKLCHoklch(43.7% 0.175 288)

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 #5236AA 8.51:1 AAA Lc -93.3 Preferred for body text
Black text on #5236AA 2.46:1 Fails Lc 15.3 Dividers and decoration only
#5236AA text on white 8.51:1 AAA Lc 88.7 Fine for body text
#5236AA text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FD

    oklch(88.5% 0.056 287.4)

  4. Step 300

    300

    #BDB6FF

    oklch(80.8% 0.102 288.3)

  5. Step 400

    400

    #9D8DFF

    oklch(70.7% 0.163 287.9)

  6. Step 500

    500

    #886BFE

    oklch(63.1% 0.209 287.9)

  7. Step 600

    600

    #744CED

    oklch(55.5% 0.228 288)

  8. Step 700

    700

    #623CCE

    oklch(49.1% 0.211 288)

  9. Step 800

    800 (this color)

    #5236AA

    oklch(43.7% 0.175 288)

  10. Step 900

    900

    #412F84

    oklch(37.7% 0.136 287.8)

  11. Step 950

    950

    #261C4D

    oklch(26.9% 0.087 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#5236AA 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)#004FAE0.089
Deuteranopia (no green cones)#0049A80.086
Tritanopia (no blue cones)#31536B0.144
Achromatopsia (no color)#4D4D4D0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #5236AA

    #5236AA

    oklch(43.7% 0.175 288)

  • #575500

    #575500

    oklch(43.7% 0.094 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5236AA

    #5236AA

    oklch(43.7% 0.175 288)

  • #004CA8

    #004CA8

    oklch(43.7% 0.162 258)

  • #77238E

    #77238E

    oklch(43.6% 0.175 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #5236AA

    #5236AA

    oklch(43.7% 0.175 288)

  • #6D4A00

    #6D4A00

    oklch(43.7% 0.091 77.7)

  • #256100

    #256100

    oklch(43.5% 0.134 137.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5236AA

    #5236AA

    oklch(43.7% 0.175 288)

  • #843800

    #843800

    oklch(43.7% 0.119 47.9)

  • #006148

    #006148

    oklch(43.7% 0.089 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5236AA

    #5236AA

    oklch(43.7% 0.175 288)

  • #9B002A

    #9B002A

    oklch(43.7% 0.175 18.1)

  • #575500

    #575500

    oklch(43.7% 0.094 108.2)

  • #005E60

    #005E60

    oklch(43.7% 0.074 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5236AA 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.