#4F406B

Closest named color: Dark Slate Blue (#483D8B). oklch(40.6% 0.072 299.2), rgb(79, 64, 107).

Aa

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

About this color

#4F406B is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.072 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.057 away. White text reads best on it, at 9.21:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.27:1
White text9.21:1

Values

HEX#4F406B
RGBrgb(79, 64, 107)
HSLhsl(261, 25%, 34%)
OKLCHoklch(40.6% 0.072 299.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 #4F406B 9.21:1 AAA Lc -95.5 Preferred for body text
Black text on #4F406B 2.27:1 Fails Lc 12.8 Not readable
#4F406B text on white 9.21:1 AAA Lc 91.2 Preferred for body text
#4F406B text on black 2.27:1 Fails Lc -11.2 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DBD6E7

    oklch(88.5% 0.024 299.3)

  4. Step 300

    300

    #C4BBD9

    oklch(80.9% 0.043 299.1)

  5. Step 400

    400

    #A698C5

    oklch(70.7% 0.066 298.9)

  6. Step 500

    500

    #917EB7

    oklch(63.2% 0.086 299.2)

  7. Step 600

    600

    #7B66A3

    oklch(55.5% 0.095 299.1)

  8. Step 700

    700

    #68558B

    oklch(49.1% 0.087 299.4)

  9. Step 800

    800 (this color)

    #4F406B

    oklch(40.6% 0.072 299.2)

  10. Step 900

    900

    #463B5B

    oklch(37.8% 0.055 299.6)

  11. Step 950

    950

    #292236

    oklch(26.9% 0.038 300)

Export this scale for Tailwind in the Tailwind colors tool

#4F406B 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)#35476D0.043
Deuteranopia (no green cones)#38476A0.040
Tritanopia (no blue cones)#4A47500.057
Achromatopsia (no color)#4848480.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F406B

    #4F406B

    oklch(40.6% 0.072 299.2)

  • #454F1E

    #454F1E

    oklch(40.7% 0.072 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F406B

    #4F406B

    oklch(40.6% 0.072 299.2)

  • #394771

    #394771

    oklch(40.6% 0.073 269)

  • #5F3A5C

    #5F3A5C

    oklch(40.5% 0.073 329.7)

Open the analogous palette in the generator

Split complementary

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

  • #4F406B

    #4F406B

    oklch(40.6% 0.072 299.2)

  • #594713

    #594713

    oklch(40.6% 0.072 89.1)

  • #2A5433

    #2A5433

    oklch(40.6% 0.073 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F406B

    #4F406B

    oklch(40.6% 0.072 299.2)

  • #663F1D

    #663F1D

    oklch(40.6% 0.073 59.5)

  • #05564A

    #05564A

    oklch(40.7% 0.073 178.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F406B

    #4F406B

    oklch(40.6% 0.072 299.2)

  • #6B3932

    #6B3932

    oklch(40.6% 0.072 29)

  • #454F1E

    #454F1E

    oklch(40.7% 0.072 119.4)

  • #00535E

    #00535E

    oklch(40.5% 0.07 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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