#5338A3

Closest named color: Blueberry (#464196). oklch(43.5% 0.164 289.4), rgb(83, 56, 163).

Aa

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

About this color

#5338A3 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.164 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.036 away. White text reads best on it, at 8.52:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.164)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.46:1
White text8.52:1

Values

HEX#5338A3
RGBrgb(83, 56, 163)
HSLhsl(255, 49%, 43%)
OKLCHoklch(43.5% 0.164 289.4)

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 #5338A3 8.52:1 AAA Lc -93.4 Preferred for body text
Black text on #5338A3 2.46:1 Fails Lc 15.1 Dividers and decoration only
#5338A3 text on white 8.52:1 AAA Lc 88.8 Fine for body text
#5338A3 text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D7D4FB

    oklch(88.5% 0.053 288.8)

  4. Step 300

    300

    #BFB7FB

    oklch(81% 0.095 289.5)

  5. Step 400

    400

    #9F8EF9

    oklch(70.7% 0.153 289.2)

  6. Step 500

    500

    #8A6DF6

    oklch(63.1% 0.197 289.3)

  7. Step 600

    600

    #7650E4

    oklch(55.5% 0.213 289.4)

  8. Step 700

    700

    #643FC6

    oklch(49% 0.198 289.7)

  9. Step 800

    800 (this color)

    #5338A3

    oklch(43.5% 0.164 289.4)

  10. Step 900

    900

    #42307F

    oklch(37.6% 0.128 289.3)

  11. Step 950

    950

    #271D4B

    oklch(27% 0.082 289.8)

Export this scale for Tailwind in the Tailwind colors tool

#5338A3 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)#004FA60.090
Deuteranopia (no green cones)#004AA10.088
Tritanopia (no blue cones)#3852680.134
Achromatopsia (no color)#4C4C4C0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #5338A3

    #5338A3

    oklch(43.5% 0.164 289.4)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5338A3

    #5338A3

    oklch(43.5% 0.164 289.4)

  • #084AA9

    #084AA9

    oklch(43.4% 0.165 259.5)

  • #762788

    #762788

    oklch(43.5% 0.164 319.6)

Open the analogous palette in the generator

Split complementary

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

  • #5338A3

    #5338A3

    oklch(43.5% 0.164 289.4)

  • #6B4A00

    #6B4A00

    oklch(43.4% 0.09 79.3)

  • #1D6200

    #1D6200

    oklch(43.6% 0.139 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5338A3

    #5338A3

    oklch(43.5% 0.164 289.4)

  • #823900

    #823900

    oklch(43.6% 0.116 49.2)

  • #006049

    #006049

    oklch(43.5% 0.087 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5338A3

    #5338A3

    oklch(43.5% 0.164 289.4)

  • #97112A

    #97112A

    oklch(43.6% 0.164 19.3)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

  • #005D61

    #005D61

    oklch(43.5% 0.074 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5338A3 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.