#5342A8

Closest named color: Blueberry (#464196). oklch(45.5% 0.157 286), rgb(83, 66, 168).

Aa

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

About this color

#5342A8 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.157 and its hue 286°. 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 7.74:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.157)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.71:1
White text7.74:1

Values

HEX#5342A8
RGBrgb(83, 66, 168)
HSLhsl(250, 44%, 46%)
OKLCHoklch(45.5% 0.157 286)

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 #5342A8 7.74:1 AAA Lc -91.3 Preferred for body text
Black text on #5342A8 2.71:1 Fails Lc 17.5 Dividers and decoration only
#5342A8 text on white 7.74:1 AAA Lc 86.5 Fine for body text
#5342A8 text on black 2.71:1 Fails Lc -15.6 Dividers and decoration only

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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BBB8FA

    oklch(80.8% 0.093 286.2)

  5. Step 400

    400

    #9A91F7

    oklch(70.7% 0.146 286)

  6. Step 500

    500

    #8372F3

    oklch(63.1% 0.186 285.8)

  7. Step 600

    600

    #6F56E2

    oklch(55.7% 0.203 285.9)

  8. Step 700

    700

    #5D45C4

    oklch(49.1% 0.188 285.8)

  9. Step 800

    800 (this color)

    #5342A8

    oklch(45.5% 0.157 286)

  10. Step 900

    900

    #3E337E

    oklch(37.7% 0.122 285.6)

  11. Step 950

    950

    #241F4A

    oklch(27.1% 0.077 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#5342A8 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)#0055AB0.082
Deuteranopia (no green cones)#0050A60.080
Tritanopia (no blue cones)#345A6E0.132
Achromatopsia (no color)#5353530.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #5342A8

    #5342A8

    oklch(45.5% 0.157 286)

  • #5E5900

    #5E5900

    oklch(45.4% 0.097 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5342A8

    #5342A8

    oklch(45.5% 0.157 286)

  • #0054AA

    #0054AA

    oklch(45.6% 0.155 255.8)

  • #773290

    #773290

    oklch(45.4% 0.157 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #5342A8

    #5342A8

    oklch(45.5% 0.157 286)

  • #754E00

    #754E00

    oklch(45.6% 0.096 75.8)

  • #2F6600

    #2F6600

    oklch(45.4% 0.135 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5342A8

    #5342A8

    oklch(45.5% 0.157 286)

  • #8D3900

    #8D3900

    oklch(45.4% 0.128 45.8)

  • #00674A

    #00674A

    oklch(45.5% 0.095 165.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5342A8

    #5342A8

    oklch(45.5% 0.157 286)

  • #9B2038

    #9B2038

    oklch(45.6% 0.158 15.8)

  • #5E5900

    #5E5900

    oklch(45.4% 0.097 105.9)

  • #006465

    #006465

    oklch(45.6% 0.078 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5342A8 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.