#5E3797

Closest named color: Rebecca Purple (#663399). oklch(43.5% 0.151 298.7), rgb(94, 55, 151).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.151)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.46:1
White text8.50:1

Values

HEX#5E3797
RGBrgb(94, 55, 151)
HSLhsl(264, 47%, 40%)
OKLCHoklch(43.5% 0.151 298.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 #5E3797 8.50:1 AAA Lc -93.4 Preferred for body text
Black text on #5E3797 2.46:1 Fails Lc 15.2 Dividers and decoration only
#5E3797 text on white 8.50:1 AAA Lc 88.8 Fine for body text
#5E3797 text on black 2.46:1 Fails Lc -13.4 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE7F9

    oklch(93.7% 0.025 298.6)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C8B5F2

    oklch(81% 0.087 298.7)

  5. Step 400

    400

    #AD8BEC

    oklch(70.7% 0.142 298.9)

  6. Step 500

    500

    #996BE6

    oklch(63.1% 0.18 298.3)

  7. Step 600

    600

    #854FD4

    oklch(55.7% 0.196 298.5)

  8. Step 700

    700

    #713EB7

    oklch(49% 0.182 298.8)

  9. Step 800

    800 (this color)

    #5E3797

    oklch(43.5% 0.151 298.7)

  10. Step 900

    900

    #4B2F76

    oklch(37.7% 0.117 298.8)

  11. Step 950

    950

    #2C1C45

    oklch(26.9% 0.075 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#5E3797 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)#004D9A0.109
Deuteranopia (no green cones)#0B4C950.106
Tritanopia (no blue cones)#514C620.114
Achromatopsia (no color)#4D4D4D0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E3797

    #5E3797

    oklch(43.5% 0.151 298.7)

  • #4C5800

    #4C5800

    oklch(43.5% 0.102 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E3797

    #5E3797

    oklch(43.5% 0.151 298.7)

  • #3047A3

    #3047A3

    oklch(43.6% 0.151 268.7)

  • #7B2979

    #7B2979

    oklch(43.5% 0.151 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #5E3797

    #5E3797

    oklch(43.5% 0.151 298.7)

  • #654E00

    #654E00

    oklch(43.6% 0.089 89.1)

  • #006326

    #006326

    oklch(43.6% 0.124 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E3797

    #5E3797

    oklch(43.5% 0.151 298.7)

  • #7A4000

    #7A4000

    oklch(43.5% 0.104 58.4)

  • #005F52

    #005F52

    oklch(43.5% 0.079 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E3797

    #5E3797

    oklch(43.5% 0.151 298.7)

  • #922119

    #922119

    oklch(43.5% 0.15 28.9)

  • #4C5800

    #4C5800

    oklch(43.5% 0.102 118.5)

  • #005C67

    #005C67

    oklch(43.5% 0.075 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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