#5A35DF

Closest named color: Purpley Blue (#5F34E7). oklch(49.1% 0.238 283.3), rgb(90, 53, 223).

Aa

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

About this color

#5A35DF is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.238 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley Blue (#5F34E7), ΔE 0.015 away. White text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.238)
Temperaturecool
Nearest namePurpley Blue (#5F34E7)
Black text3.00:1
White text6.97:1

Values

HEX#5A35DF
RGBrgb(90, 53, 223)
HSLhsl(253, 73%, 54%)
OKLCHoklch(49.1% 0.238 283.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 #5A35DF 6.97:1 AA Lc -88.1 Fine for body text
Black text on #5A35DF 3.00:1 AA large text Lc 20.9 Dividers and decoration only
#5A35DF text on white 6.97:1 AA Lc 83.1 Fine for body text
#5A35DF text on black 3.00:1 AA large text Lc -18.8 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 700.

  1. Step 50

    50

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B8B9FF

    oklch(81% 0.098 283.3)

  5. Step 400

    400

    #9591FF

    oklch(70.8% 0.158 283.2)

  6. Step 500

    500

    #7E6FFF

    oklch(63% 0.206 283.5)

  7. Step 600

    600

    #6B47FF

    oklch(55.7% 0.254 283.3)

  8. Step 700

    700 (this color)

    #5A35DF

    oklch(49.1% 0.238 283.3)

  9. Step 800

    800

    #492EB4

    oklch(42.7% 0.197 283.4)

  10. Step 900

    900

    #3C2D8E

    oklch(37.8% 0.153 283.4)

  11. Step 950

    950

    #221C53

    oklch(27% 0.096 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A35DF 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)#005EE40.099
Deuteranopia (no green cones)#0053DC0.089
Tritanopia (no blue cones)#0066890.195
Achromatopsia (no color)#5959590.239

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A35DF

    #5A35DF

    oklch(49.1% 0.238 283.3)

  • #6C6300

    #6C6300

    oklch(49.3% 0.104 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A35DF

    #5A35DF

    oklch(49.1% 0.238 283.3)

  • #0060B4

    #0060B4

    oklch(49.1% 0.153 253.4)

  • #8E0DBC

    #8E0DBC

    oklch(49.1% 0.237 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A35DF

    #5A35DF

    oklch(49.1% 0.238 283.3)

  • #845600

    #845600

    oklch(49.2% 0.105 73.4)

  • #3E7000

    #3E7000

    oklch(49% 0.139 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A35DF

    #5A35DF

    oklch(49.1% 0.238 283.3)

  • #A03D00

    #A03D00

    oklch(49.1% 0.144 43.5)

  • #00734F

    #00734F

    oklch(49.1% 0.106 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A35DF

    #5A35DF

    oklch(49.1% 0.238 283.3)

  • #B4003F

    #B4003F

    oklch(49% 0.196 13.2)

  • #6C6300

    #6C6300

    oklch(49.3% 0.104 103.3)

  • #006F6E

    #006F6E

    oklch(49% 0.084 193.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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