#4F507A

Closest named color: Dusk (#4E5481). oklch(44.9% 0.068 282.2), rgb(79, 80, 122).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.76:1
White text7.60:1

Values

HEX#4F507A
RGBrgb(79, 80, 122)
HSLhsl(239, 21%, 39%)
OKLCHoklch(44.9% 0.068 282.2)

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 #4F507A 7.60:1 AAA Lc -91.2 Preferred for body text
Black text on #4F507A 2.76:1 Fails Lc 17.6 Dividers and decoration only
#4F507A text on white 7.60:1 AAA Lc 86.4 Fine for body text
#4F507A text on black 2.76:1 Fails Lc -15.7 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

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E8

    oklch(88.5% 0.022 280.3)

  4. Step 300

    300

    #BCBEDA

    oklch(80.9% 0.039 282.2)

  5. Step 400

    400

    #9A9CC8

    oklch(70.7% 0.064 282.6)

  6. Step 500

    500

    #8183BA

    oklch(63% 0.082 282.1)

  7. Step 600

    600

    #6B6CA6

    oklch(55.5% 0.089 282.3)

  8. Step 700

    700

    #5A5A8E

    oklch(49% 0.083 282.9)

  9. Step 800

    800 (this color)

    #4F507A

    oklch(44.9% 0.068 282.2)

  10. Step 900

    900

    #3D3E5D

    oklch(37.7% 0.053 282.1)

  11. Step 950

    950

    #242437

    oklch(26.9% 0.035 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#4F507A 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)#43557C0.021
Deuteranopia (no green cones)#4152790.021
Tritanopia (no blue cones)#44585F0.060
Achromatopsia (no color)#5454540.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F507A

    #4F507A

    oklch(44.9% 0.068 282.2)

  • #5C5626

    #5C5626

    oklch(44.8% 0.068 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F507A

    #4F507A

    oklch(44.9% 0.068 282.2)

  • #38577A

    #38577A

    oklch(44.9% 0.069 252.3)

  • #624A70

    #624A70

    oklch(45% 0.067 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #4F507A

    #4F507A

    oklch(44.9% 0.068 282.2)

  • #6C4E27

    #6C4E27

    oklch(44.7% 0.068 71.7)

  • #465D34

    #465D34

    oklch(44.8% 0.069 132.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F507A

    #4F507A

    oklch(44.9% 0.068 282.2)

  • #754836

    #754836

    oklch(44.9% 0.068 42.5)

  • #2D6149

    #2D6149

    oklch(44.9% 0.069 161.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F507A

    #4F507A

    oklch(44.9% 0.068 282.2)

  • #76444B

    #76444B

    oklch(44.8% 0.069 11.2)

  • #5C5626

    #5C5626

    oklch(44.8% 0.068 102.2)

  • #19615F

    #19615F

    oklch(44.9% 0.068 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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