#5241A4

Closest named color: Blueberry (#464196). oklch(44.9% 0.153 286.4), rgb(82, 65, 164).

Aa

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

About this color

#5241A4 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.153 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.030 away. White text reads best on it, at 7.92:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.153)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.65:1
White text7.92:1

Values

HEX#5241A4
RGBrgb(82, 65, 164)
HSLhsl(250, 43%, 45%)
OKLCHoklch(44.9% 0.153 286.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 #5241A4 7.92:1 AAA Lc -91.8 Preferred for body text
Black text on #5241A4 2.65:1 Fails Lc 16.9 Dividers and decoration only
#5241A4 text on white 7.92:1 AAA Lc 87.1 Fine for body text
#5241A4 text on black 2.65:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300

    #BBB8F8

    oklch(80.8% 0.09 286.3)

  5. Step 400

    400

    #9A91F5

    oklch(70.6% 0.144 286.2)

  6. Step 500

    500

    #8472F1

    oklch(63.1% 0.184 286.4)

  7. Step 600

    600

    #7057DF

    oklch(55.7% 0.198 286.5)

  8. Step 700

    700

    #5E46C2

    oklch(49.2% 0.185 286.4)

  9. Step 800

    800 (this color)

    #5241A4

    oklch(44.9% 0.153 286.4)

  10. Step 900

    900

    #3F337D

    oklch(37.7% 0.12 286.5)

  11. Step 950

    950

    #251F49

    oklch(27.1% 0.075 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#5241A4 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)#0054A70.082
Deuteranopia (no green cones)#004EA20.080
Tritanopia (no blue cones)#35586C0.128
Achromatopsia (no color)#5151510.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #5241A4

    #5241A4

    oklch(44.9% 0.153 286.4)

  • #5C5800

    #5C5800

    oklch(45% 0.096 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5241A4

    #5241A4

    oklch(44.9% 0.153 286.4)

  • #0452A7

    #0452A7

    oklch(45% 0.152 256.3)

  • #75328C

    #75328C

    oklch(44.9% 0.152 316.5)

Open the analogous palette in the generator

Split complementary

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

  • #5241A4

    #5241A4

    oklch(44.9% 0.153 286.4)

  • #724D00

    #724D00

    oklch(45% 0.094 77)

  • #2D6500

    #2D6500

    oklch(45.1% 0.135 136.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5241A4

    #5241A4

    oklch(44.9% 0.153 286.4)

  • #8B3900

    #8B3900

    oklch(45% 0.126 46.4)

  • #006549

    #006549

    oklch(44.9% 0.093 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5241A4

    #5241A4

    oklch(44.9% 0.153 286.4)

  • #972136

    #972136

    oklch(44.9% 0.153 16.5)

  • #5C5800

    #5C5800

    oklch(45% 0.096 106.6)

  • #006263

    #006263

    oklch(45% 0.077 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5241A4 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.