#5A11BE

Closest named color: Violet Blue (#510AC9). oklch(42.8% 0.229 291.7), rgb(90, 17, 190).

Aa

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

About this color

#5A11BE is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.229 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet Blue (#510AC9), ΔE 0.027 away. White text reads best on it, at 9.29:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.229)
Temperaturein between
Nearest nameViolet Blue (#510AC9)
Black text2.25:1
White text9.29:1

Values

HEX#5A11BE
RGBrgb(90, 17, 190)
HSLhsl(265, 84%, 41%)
OKLCHoklch(42.8% 0.229 291.7)

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 #5A11BE 9.29:1 AAA Lc -94.2 Preferred for body text
Black text on #5A11BE 2.25:1 Fails Lc 14.3 Not readable
#5A11BE text on white 9.29:1 AAA Lc 89.7 Fine for body text
#5A11BE text on black 2.25:1 Fails Lc -12.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

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #D9D3FF

    oklch(88.6% 0.06 291.4)

  4. Step 300

    300

    #C1B5FF

    oklch(81% 0.104 291.3)

  5. Step 400

    400

    #A48AFF

    oklch(70.7% 0.167 291.8)

  6. Step 500

    500

    #9066FF

    oklch(63.1% 0.217 291.6)

  7. Step 600

    600

    #7F35FF

    oklch(55.5% 0.269 291.5)

  8. Step 700

    700

    #6F00EB

    oklch(49.2% 0.275 291.7)

  9. Step 800

    800 (this color)

    #5A11BE

    oklch(42.8% 0.229 291.7)

  10. Step 900

    900

    #491E96

    oklch(37.8% 0.178 291.7)

  11. Step 950

    950

    #2A1457

    oklch(26.9% 0.113 292.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A11BE 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)#0049C20.119
Deuteranopia (no green cones)#0043BB0.115
Tritanopia (no blue cones)#354C700.176
Achromatopsia (no color)#4747470.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A11BE

    #5A11BE

    oklch(42.8% 0.229 291.7)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A11BE

    #5A11BE

    oklch(42.8% 0.229 291.7)

  • #0041B6

    #0041B6

    oklch(42.7% 0.194 261.7)

  • #7E008F

    #7E008F

    oklch(42.8% 0.204 321.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A11BE

    #5A11BE

    oklch(42.8% 0.229 291.7)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #0A6100

    #0A6100

    oklch(42.8% 0.143 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A11BE

    #5A11BE

    oklch(42.8% 0.229 291.7)

  • #7C3A00

    #7C3A00

    oklch(42.8% 0.11 52.3)

  • #005E4A

    #005E4A

    oklch(42.9% 0.083 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A11BE

    #5A11BE

    oklch(42.8% 0.229 291.7)

  • #970020

    #970020

    oklch(42.7% 0.172 21.5)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

  • #005B60

    #005B60

    oklch(42.9% 0.073 201.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5A11BE.

Similar named colors

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

Use #5A11BE 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.