#4F45B9

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47% 0.176 281.1), rgb(79, 69, 185).

Aa

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

About this color

#4F45B9 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.176 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.027 away. White text reads best on it, at 7.28:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.176)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.88:1
White text7.28:1

Values

HEX#4F45B9
RGBrgb(79, 69, 185)
HSLhsl(245, 46%, 50%)
OKLCHoklch(47% 0.176 281.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 #4F45B9 7.28:1 AAA Lc -89.7 Fine for body text
Black text on #4F45B9 2.88:1 Fails Lc 19.2 Dividers and decoration only
#4F45B9 text on white 7.28:1 AAA Lc 84.8 Fine for body text
#4F45B9 text on black 2.88:1 Fails Lc -17.2 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 700.

  1. Step 50

    50

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B6BBF7

    oklch(80.9% 0.085 280.6)

  5. Step 400

    400

    #9295F3

    oklch(70.7% 0.136 280.9)

  6. Step 500

    500

    #7A77EF

    oklch(63% 0.175 281.2)

  7. Step 600

    600

    #655DDD

    oklch(55.6% 0.189 281.1)

  8. Step 700

    700 (this color)

    #4F45B9

    oklch(47% 0.176 281.1)

  9. Step 800

    800

    #453F9B

    oklch(42.8% 0.145 281.3)

  10. Step 900

    900

    #39377B

    oklch(37.8% 0.112 280.9)

  11. Step 950

    950

    #212148

    oklch(27.1% 0.071 280.6)

Export this scale for Tailwind in the Tailwind colors tool

#4F45B9 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)#005BBD0.075
Deuteranopia (no green cones)#0052B70.069
Tritanopia (no blue cones)#1462780.152
Achromatopsia (no color)#5757570.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F45B9

    #4F45B9

    oklch(47% 0.176 281.1)

  • #675C00

    #675C00

    oklch(47.1% 0.098 101.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F45B9

    #4F45B9

    oklch(47% 0.176 281.1)

  • #005CA4

    #005CA4

    oklch(47% 0.137 251.1)

  • #7A32A1

    #7A32A1

    oklch(47% 0.176 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #4F45B9

    #4F45B9

    oklch(47% 0.176 281.1)

  • #7E4F00

    #7E4F00

    oklch(47% 0.101 70.5)

  • #406800

    #406800

    oklch(46.9% 0.128 130.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F45B9

    #4F45B9

    oklch(47% 0.176 281.1)

  • #9A3500

    #9A3500

    oklch(47% 0.145 40.9)

  • #006C47

    #006C47

    oklch(46.9% 0.104 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F45B9

    #4F45B9

    oklch(47% 0.176 281.1)

  • #A61542

    #A61542

    oklch(47.1% 0.176 11)

  • #675C00

    #675C00

    oklch(47.1% 0.098 101.3)

  • #006966

    #006966

    oklch(47% 0.081 191.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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