#5039AA

Closest named color: Blueberry (#464196). oklch(43.9% 0.172 286.3), rgb(80, 57, 170).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.172)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.50:1
White text8.37:1

Values

HEX#5039AA
RGBrgb(80, 57, 170)
HSLhsl(252, 50%, 45%)
OKLCHoklch(43.9% 0.172 286.3)

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 #5039AA 8.37:1 AAA Lc -93.0 Preferred for body text
Black text on #5039AA 2.50:1 Fails Lc 15.6 Dividers and decoration only
#5039AA text on white 8.37:1 AAA Lc 88.4 Fine for body text
#5039AA text on black 2.50:1 Fails Lc -13.8 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D5D4FD

    oklch(88.4% 0.056 286.3)

  4. Step 300

    300

    #BBB7FF

    oklch(80.9% 0.101 286.5)

  5. Step 400

    400

    #9A8EFF

    oklch(70.6% 0.161 286.3)

  6. Step 500

    500

    #846DFD

    oklch(63% 0.206 286.2)

  7. Step 600

    600

    #704FEC

    oklch(55.5% 0.224 286.3)

  8. Step 700

    700

    #5F3ECD

    oklch(49% 0.207 286.6)

  9. Step 800

    800 (this color)

    #5039AA

    oklch(43.9% 0.172 286.3)

  10. Step 900

    900

    #3F3083

    oklch(37.6% 0.133 286.4)

  11. Step 950

    950

    #251D4D

    oklch(27% 0.085 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#5039AA 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)#0050AE0.084
Deuteranopia (no green cones)#004AA80.081
Tritanopia (no blue cones)#2D556C0.142
Achromatopsia (no color)#4E4E4E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #5039AA

    #5039AA

    oklch(43.9% 0.172 286.3)

  • #595500

    #595500

    oklch(43.9% 0.094 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5039AA

    #5039AA

    oklch(43.9% 0.172 286.3)

  • #004FA3

    #004FA3

    oklch(43.9% 0.151 256.3)

  • #762790

    #762790

    oklch(44% 0.172 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #5039AA

    #5039AA

    oklch(43.9% 0.172 286.3)

  • #6F4A00

    #6F4A00

    oklch(43.9% 0.092 76.1)

  • #2B6100

    #2B6100

    oklch(43.8% 0.131 136.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5039AA

    #5039AA

    oklch(43.9% 0.172 286.3)

  • #863700

    #863700

    oklch(43.9% 0.122 46.6)

  • #006247

    #006247

    oklch(44% 0.091 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5039AA

    #5039AA

    oklch(43.9% 0.172 286.3)

  • #9A082F

    #9A082F

    oklch(43.9% 0.171 16.5)

  • #595500

    #595500

    oklch(43.9% 0.094 106.5)

  • #005F60

    #005F60

    oklch(44% 0.075 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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