#5538B0

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(44.8% 0.18 287.9), rgb(85, 56, 176).

Aa

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

About this color

#5538B0 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.180 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.036 away. White text reads best on it, at 8.14:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.180)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.57:1
White text8.14:1

Values

HEX#5538B0
RGBrgb(85, 56, 176)
HSLhsl(254, 52%, 45%)
OKLCHoklch(44.8% 0.18 287.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 #5538B0 8.14:1 AAA Lc -92.3 Preferred for body text
Black text on #5538B0 2.57:1 Fails Lc 16.4 Dividers and decoration only
#5538B0 text on white 8.14:1 AAA Lc 87.6 Fine for body text
#5538B0 text on black 2.57:1 Fails Lc -14.6 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E8E7FE

    oklch(93.6% 0.031 287.8)

  3. Step 200

    200

    #D6D4FE

    oklch(88.5% 0.058 287.3)

  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

    #886AFF

    oklch(63% 0.212 288)

  7. Step 600

    600

    #744AF0

    oklch(55.5% 0.234 287.9)

  8. Step 700

    700

    #6239D1

    oklch(49% 0.217 287.9)

  9. Step 800

    800 (this color)

    #5538B0

    oklch(44.8% 0.18 287.9)

  10. Step 900

    900

    #412E86

    oklch(37.7% 0.14 287.6)

  11. Step 950

    950

    #261C4E

    oklch(27% 0.088 288.2)

Export this scale for Tailwind in the Tailwind colors tool

#5538B0 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)#0052B40.092
Deuteranopia (no green cones)#004CAE0.089
Tritanopia (no blue cones)#33566F0.147
Achromatopsia (no color)#4F4F4F0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #5538B0

    #5538B0

    oklch(44.8% 0.18 287.9)

  • #5A5800

    #5A5800

    oklch(44.8% 0.097 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5538B0

    #5538B0

    oklch(44.8% 0.18 287.9)

  • #004FAD

    #004FAD

    oklch(44.7% 0.165 257.9)

  • #7B2493

    #7B2493

    oklch(44.7% 0.18 317.8)

Open the analogous palette in the generator

Split complementary

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

  • #5538B0

    #5538B0

    oklch(44.8% 0.18 287.9)

  • #714D00

    #714D00

    oklch(44.8% 0.094 77.8)

  • #266500

    #266500

    oklch(44.8% 0.138 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5538B0

    #5538B0

    oklch(44.8% 0.18 287.9)

  • #883A00

    #883A00

    oklch(44.7% 0.122 47.9)

  • #00644B

    #00644B

    oklch(44.7% 0.09 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5538B0

    #5538B0

    oklch(44.8% 0.18 287.9)

  • #A0002C

    #A0002C

    oklch(44.7% 0.179 18)

  • #5A5800

    #5A5800

    oklch(44.8% 0.097 108.2)

  • #006164

    #006164

    oklch(44.7% 0.076 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5538B0 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.