#5E277F

Closest named color: Rebecca Purple (#663399). oklch(39.5% 0.146 310.1), rgb(94, 39, 127).

Aa

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

About this color

#5E277F is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.146 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.051 away. White text reads best on it, at 10.13:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.146)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.07:1
White text10.13:1

Values

HEX#5E277F
RGBrgb(94, 39, 127)
HSLhsl(278, 53%, 33%)
OKLCHoklch(39.5% 0.146 310.1)

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 #5E277F 10.13:1 AAA Lc -97.0 Preferred for body text
Black text on #5E277F 2.07:1 Fails Lc 11.1 Not readable
#5E277F text on white 10.13:1 AAA Lc 92.9 Preferred for body text
#5E277F text on black 2.07:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E4FA

    oklch(93.5% 0.032 309.9)

  3. Step 200

    200

    #E5CFF8

    oklch(88.5% 0.06 309.2)

  4. Step 300

    300

    #D6ADF6

    oklch(80.9% 0.109 309.7)

  5. Step 400

    400

    #C27DF1

    oklch(70.7% 0.176 310.1)

  6. Step 500

    500

    #B255EB

    oklch(63% 0.223 310)

  7. Step 600

    600

    #9E30DA

    oklch(55.6% 0.243 309.9)

  8. Step 700

    700

    #871FBD

    oklch(49.1% 0.226 309.9)

  9. Step 800

    800

    #6E1E99

    oklch(42.7% 0.188 310)

  10. Step 900

    900 (this color)

    #5E277F

    oklch(39.5% 0.146 310.1)

  11. Step 950

    950

    #341547

    oklch(26.9% 0.093 310.2)

Export this scale for Tailwind in the Tailwind colors tool

#5E277F 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)#003F820.127
Deuteranopia (no green cones)#1A427D0.116
Tritanopia (no blue cones)#59394F0.100
Achromatopsia (no color)#4141410.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E277F

    #5E277F

    oklch(39.5% 0.146 310.1)

  • #325100

    #325100

    oklch(39.5% 0.107 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E277F

    #5E277F

    oklch(39.5% 0.146 310.1)

  • #3B3691

    #3B3691

    oklch(39.5% 0.145 279.9)

  • #75195E

    #75195E

    oklch(39.5% 0.146 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #5E277F

    #5E277F

    oklch(39.5% 0.146 310.1)

  • #514700

    #514700

    oklch(39.6% 0.082 100.1)

  • #005435

    #005435

    oklch(39.3% 0.089 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E277F

    #5E277F

    oklch(39.5% 0.146 310.1)

  • #633D00

    #633D00

    oklch(39.6% 0.085 70.4)

  • #00524E

    #00524E

    oklch(39.6% 0.069 189.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E277F

    #5E277F

    oklch(39.5% 0.146 310.1)

  • #7A2700

    #7A2700

    oklch(39.5% 0.123 40.3)

  • #325100

    #325100

    oklch(39.5% 0.107 130.3)

  • #004F61

    #004F61

    oklch(39.5% 0.072 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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