#4F5284

Closest named color: Dusk (#4E5481). oklch(45.9% 0.081 280.1), rgb(79, 82, 132).

Aa

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

About this color

#4F5284 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.081 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.009 away. White text reads best on it, at 7.31:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.87:1
White text7.31:1

Values

HEX#4F5284
RGBrgb(79, 82, 132)
HSLhsl(237, 25%, 41%)
OKLCHoklch(45.9% 0.081 280.1)

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 #4F5284 7.31:1 AAA Lc -90.2 Preferred for body text
Black text on #4F5284 2.87:1 Fails Lc 18.7 Dividers and decoration only
#4F5284 text on white 7.31:1 AAA Lc 85.3 Fine for body text
#4F5284 text on black 2.87:1 Fails Lc -16.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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D8EB

    oklch(88.6% 0.026 278.7)

  4. Step 300

    300

    #BABEDF

    oklch(80.9% 0.047 279.8)

  5. Step 400

    400

    #979CD0

    oklch(70.8% 0.076 280)

  6. Step 500

    500

    #7E83C3

    oklch(63.2% 0.096 279.8)

  7. Step 600

    600

    #686BB0

    oklch(55.6% 0.106 280.5)

  8. Step 700

    700

    #565997

    oklch(49% 0.098 280)

  9. Step 800

    800 (this color)

    #4F5284

    oklch(45.9% 0.081 280.1)

  10. Step 900

    900

    #3B3D63

    oklch(37.6% 0.065 280.5)

  11. Step 950

    950

    #23243A

    oklch(27% 0.041 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#4F5284 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)#4158860.024
Deuteranopia (no green cones)#3E54830.024
Tritanopia (no blue cones)#3F5C650.071
Achromatopsia (no color)#5656560.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F5284

    #4F5284

    oklch(45.9% 0.081 280.1)

  • #62581B

    #62581B

    oklch(45.7% 0.081 99.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F5284

    #4F5284

    oklch(45.9% 0.081 280.1)

  • #325A83

    #325A83

    oklch(45.8% 0.081 250.6)

  • #664A79

    #664A79

    oklch(45.8% 0.081 310.8)

Open the analogous palette in the generator

Split complementary

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

  • #4F5284

    #4F5284

    oklch(45.9% 0.081 280.1)

  • #744F1E

    #744F1E

    oklch(45.9% 0.081 70.6)

  • #48612E

    #48612E

    oklch(45.9% 0.082 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F5284

    #4F5284

    oklch(45.9% 0.081 280.1)

  • #7E4734

    #7E4734

    oklch(45.9% 0.081 39.7)

  • #276548

    #276548

    oklch(45.8% 0.08 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F5284

    #4F5284

    oklch(45.9% 0.081 280.1)

  • #7E434D

    #7E434D

    oklch(45.8% 0.082 10)

  • #62581B

    #62581B

    oklch(45.7% 0.081 99.9)

  • #006561

    #006561

    oklch(45.7% 0.079 190)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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