#5F2078

Closest named color: Indigo (#4B0082). oklch(38.3% 0.148 314.6), rgb(95, 32, 120).

Aa

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

About this color

#5F2078 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.148 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.065 away. White text reads best on it, at 10.69:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.148)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.96:1
White text10.69:1

Values

HEX#5F2078
RGBrgb(95, 32, 120)
HSLhsl(283, 58%, 30%)
OKLCHoklch(38.3% 0.148 314.6)

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 #5F2078 10.69:1 AAA Lc -98.0 Preferred for body text
Black text on #5F2078 1.96:1 Fails Lc 9.9 Not readable
#5F2078 text on white 10.69:1 AAA Lc 94.0 Preferred for body text
#5F2078 text on black 1.96:1 Fails Lc -8.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CEF6

    oklch(88.6% 0.061 314.8)

  4. Step 300

    300

    #DBABF3

    oklch(80.9% 0.111 314.1)

  5. Step 400

    400

    #C97AEC

    oklch(70.7% 0.178 314.6)

  6. Step 500

    500

    #BA50E6

    oklch(63.1% 0.227 314.4)

  7. Step 600

    600

    #A628D4

    oklch(55.7% 0.247 314.5)

  8. Step 700

    700

    #8E15B7

    oklch(49% 0.23 314.6)

  9. Step 800

    800

    #731894

    oklch(42.6% 0.19 314.5)

  10. Step 900

    900 (this color)

    #5F2078

    oklch(38.3% 0.148 314.6)

  11. Step 950

    950

    #371445

    oklch(27.1% 0.093 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F2078 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)#003B7B0.136
Deuteranopia (no green cones)#1C40760.124
Tritanopia (no blue cones)#5D324A0.096
Achromatopsia (no color)#3E3E3E0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F2078

    #5F2078

    oklch(38.3% 0.148 314.6)

  • #274F00

    #274F00

    oklch(38.3% 0.111 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F2078

    #5F2078

    oklch(38.3% 0.148 314.6)

  • #3F2F8D

    #3F2F8D

    oklch(38.3% 0.148 284.8)

  • #741155

    #741155

    oklch(38.2% 0.148 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F2078

    #5F2078

    oklch(38.3% 0.148 314.6)

  • #4A4500

    #4A4500

    oklch(38.3% 0.081 104.9)

  • #005038

    #005038

    oklch(38.2% 0.08 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F2078

    #5F2078

    oklch(38.3% 0.148 314.6)

  • #5C3C00

    #5C3C00

    oklch(38.4% 0.081 75.2)

  • #004E4E

    #004E4E

    oklch(38.4% 0.066 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F2078

    #5F2078

    oklch(38.3% 0.148 314.6)

  • #702A00

    #702A00

    oklch(38.2% 0.11 44.6)

  • #274F00

    #274F00

    oklch(38.3% 0.111 134.5)

  • #004B60

    #004B60

    oklch(38.4% 0.072 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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