#4F42A3

Closest named color: Blueberry (#464196). oklch(44.8% 0.151 284.6), rgb(79, 66, 163).

Aa

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

About this color

#4F42A3 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.151 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.026 away. White text reads best on it, at 7.95:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.151)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.64:1
White text7.95:1

Values

HEX#4F42A3
RGBrgb(79, 66, 163)
HSLhsl(248, 42%, 45%)
OKLCHoklch(44.8% 0.151 284.6)

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 #4F42A3 7.95:1 AAA Lc -91.9 Preferred for body text
Black text on #4F42A3 2.64:1 Fails Lc 16.8 Dividers and decoration only
#4F42A3 text on white 7.95:1 AAA Lc 87.2 Fine for body text
#4F42A3 text on black 2.64:1 Fails Lc -14.9 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5F9

    oklch(88.4% 0.049 285.3)

  4. Step 300

    300

    #BAB9F8

    oklch(80.9% 0.088 285)

  5. Step 400

    400

    #9892F4

    oklch(70.6% 0.141 285)

  6. Step 500

    500

    #8174F0

    oklch(63.1% 0.18 284.8)

  7. Step 600

    600

    #6C59DF

    oklch(55.7% 0.196 284.5)

  8. Step 700

    700

    #5B48C1

    oklch(49.2% 0.181 284.7)

  9. Step 800

    800 (this color)

    #4F42A3

    oklch(44.8% 0.151 284.6)

  10. Step 900

    900

    #3D347C

    oklch(37.6% 0.118 284.9)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#4F42A3 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)#0054A60.077
Deuteranopia (no green cones)#004EA10.075
Tritanopia (no blue cones)#2F586C0.126
Achromatopsia (no color)#5151510.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F42A3

    #4F42A3

    oklch(44.8% 0.151 284.6)

  • #5D5700

    #5D5700

    oklch(44.8% 0.095 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F42A3

    #4F42A3

    oklch(44.8% 0.151 284.6)

  • #0053A2

    #0053A2

    oklch(44.8% 0.145 254.5)

  • #73338D

    #73338D

    oklch(44.8% 0.151 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #4F42A3

    #4F42A3

    oklch(44.8% 0.151 284.6)

  • #734B00

    #734B00

    oklch(44.7% 0.095 74.1)

  • #326300

    #326300

    oklch(44.7% 0.13 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F42A3

    #4F42A3

    oklch(44.8% 0.151 284.6)

  • #8C3600

    #8C3600

    oklch(44.8% 0.129 44.4)

  • #006547

    #006547

    oklch(44.9% 0.095 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F42A3

    #4F42A3

    oklch(44.8% 0.151 284.6)

  • #962239

    #962239

    oklch(44.9% 0.151 14.9)

  • #5D5700

    #5D5700

    oklch(44.8% 0.095 105)

  • #006261

    #006261

    oklch(44.9% 0.077 193.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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