#542579

Closest named color: Indigo (#4B0082). oklch(37.5% 0.139 306.5), rgb(84, 37, 121).

Aa

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

About this color

#542579 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.139 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.056 away. White text reads best on it, at 10.95:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.91:1
White text10.95:1

Values

HEX#542579
RGBrgb(84, 37, 121)
HSLhsl(274, 53%, 31%)
OKLCHoklch(37.5% 0.139 306.5)

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 #542579 10.95:1 AAA Lc -98.7 Preferred for body text
Black text on #542579 1.91:1 Fails Lc 9.1 Not readable
#542579 text on white 10.95:1 AAA Lc 94.8 Preferred for body text
#542579 text on black 1.91:1 Fails Lc -7.8 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

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300

    #D2AFF6

    oklch(80.9% 0.105 306.7)

  5. Step 400

    400

    #BB81F1

    oklch(70.6% 0.167 306.5)

  6. Step 500

    500

    #AB5CEC

    oklch(63.2% 0.212 306.5)

  7. Step 600

    600

    #963ADA

    oklch(55.5% 0.231 306.3)

  8. Step 700

    700

    #802ABD

    oklch(49% 0.215 306.3)

  9. Step 800

    800

    #682699

    oklch(42.7% 0.177 306.3)

  10. Step 900

    900 (this color)

    #542579

    oklch(37.5% 0.139 306.5)

  11. Step 950

    950

    #311747

    oklch(26.8% 0.088 306.3)

Export this scale for Tailwind in the Tailwind colors tool

#542579 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)#003B7C0.113
Deuteranopia (no green cones)#0F3D770.109
Tritanopia (no blue cones)#4E374C0.097
Achromatopsia (no color)#3C3C3C0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #542579

    #542579

    oklch(37.5% 0.139 306.5)

  • #344900

    #344900

    oklch(37.4% 0.095 126.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542579

    #542579

    oklch(37.5% 0.139 306.5)

  • #313388

    #313388

    oklch(37.4% 0.139 276.3)

  • #6B185B

    #6B185B

    oklch(37.5% 0.139 337)

Open the analogous palette in the generator

Split complementary

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

  • #542579

    #542579

    oklch(37.5% 0.139 306.5)

  • #4D4000

    #4D4000

    oklch(37.4% 0.077 96)

  • #004F2C

    #004F2C

    oklch(37.6% 0.091 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542579

    #542579

    oklch(37.5% 0.139 306.5)

  • #5E3600

    #5E3600

    oklch(37.4% 0.083 65.7)

  • #004C46

    #004C46

    oklch(37.5% 0.066 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542579

    #542579

    oklch(37.5% 0.139 306.5)

  • #751D00

    #751D00

    oklch(37.4% 0.127 36.4)

  • #344900

    #344900

    oklch(37.4% 0.095 126.1)

  • #004958

    #004958

    oklch(37.4% 0.067 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #542579 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.