#4F5178

Closest named color: Dusk (#4E5481). oklch(45% 0.064 281.3), rgb(79, 81, 120).

Aa

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

About this color

#4F5178 is a dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.064 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.015 away. White text reads best on it, at 7.55:1.

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.064)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.78:1
White text7.55:1

Values

HEX#4F5178
RGBrgb(79, 81, 120)
HSLhsl(237, 21%, 39%)
OKLCHoklch(45% 0.064 281.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 #4F5178 7.55:1 AAA Lc -91.0 Preferred for body text
Black text on #4F5178 2.78:1 Fails Lc 17.8 Dividers and decoration only
#4F5178 text on white 7.55:1 AAA Lc 86.2 Fine for body text
#4F5178 text on black 2.78:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BCBED9

    oklch(80.9% 0.038 282.2)

  5. Step 400

    400

    #9A9DC6

    oklch(70.8% 0.06 281.5)

  6. Step 500

    500

    #8184B7

    oklch(63% 0.077 281.4)

  7. Step 600

    600

    #6B6DA3

    oklch(55.5% 0.083 281.7)

  8. Step 700

    700

    #595B8B

    oklch(49% 0.077 281.3)

  9. Step 800

    800 (this color)

    #4F5178

    oklch(45% 0.064 281.3)

  10. Step 900

    900

    #3D3E5C

    oklch(37.6% 0.051 282.2)

  11. Step 950

    950

    #242536

    oklch(27.1% 0.031 281.5)

Export this scale for Tailwind in the Tailwind colors tool

#4F5178 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)#45567A0.019
Deuteranopia (no green cones)#4353770.018
Tritanopia (no blue cones)#44585F0.055
Achromatopsia (no color)#5454540.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F5178

    #4F5178

    oklch(45% 0.064 281.3)

  • #5D562A

    #5D562A

    oklch(44.9% 0.064 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F5178

    #4F5178

    oklch(45% 0.064 281.3)

  • #3A5878

    #3A5878

    oklch(45.1% 0.064 250.9)

  • #614B6F

    #614B6F

    oklch(45% 0.063 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #4F5178

    #4F5178

    oklch(45% 0.064 281.3)

  • #6B4F2C

    #6B4F2C

    oklch(44.9% 0.063 71.2)

  • #495D37

    #495D37

    oklch(45.1% 0.064 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F5178

    #4F5178

    oklch(45% 0.064 281.3)

  • #734939

    #734939

    oklch(44.9% 0.063 41.6)

  • #32604A

    #32604A

    oklch(44.9% 0.063 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F5178

    #4F5178

    oklch(45% 0.064 281.3)

  • #74464C

    #74464C

    oklch(45% 0.064 11.5)

  • #5D562A

    #5D562A

    oklch(44.9% 0.064 100.4)

  • #21605E

    #21605E

    oklch(44.9% 0.063 192.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4F5178 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.