#4F38A6

Closest named color: Blueberry (#464196). oklch(43.4% 0.168 286.8), rgb(79, 56, 166).

Aa

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

About this color

#4F38A6 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.168 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.036 away. White text reads best on it, at 8.57:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.168)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.44:1
White text8.57:1

Values

HEX#4F38A6
RGBrgb(79, 56, 166)
HSLhsl(253, 50%, 44%)
OKLCHoklch(43.4% 0.168 286.8)

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 #4F38A6 8.57:1 AAA Lc -93.5 Preferred for body text
Black text on #4F38A6 2.44:1 Fails Lc 15.0 Dividers and decoration only
#4F38A6 text on white 8.57:1 AAA Lc 89.0 Fine for body text
#4F38A6 text on black 2.44:1 Fails Lc -13.3 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FC

    oklch(88.4% 0.055 287.5)

  4. Step 300

    300

    #BCB7FD

    oklch(80.9% 0.098 287.3)

  5. Step 400

    400

    #9B8FFC

    oklch(70.7% 0.156 286.7)

  6. Step 500

    500

    #856EFA

    oklch(63.1% 0.2 286.7)

  7. Step 600

    600

    #7151E9

    oklch(55.6% 0.218 286.7)

  8. Step 700

    700

    #5F40CB

    oklch(49.1% 0.203 286.6)

  9. Step 800

    800 (this color)

    #4F38A6

    oklch(43.4% 0.168 286.8)

  10. Step 900

    900

    #403182

    oklch(37.8% 0.13 286.9)

  11. Step 950

    950

    #251D4C

    oklch(26.9% 0.083 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#4F38A6 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)#004FA90.084
Deuteranopia (no green cones)#0049A40.081
Tritanopia (no blue cones)#2E536A0.138
Achromatopsia (no color)#4C4C4C0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F38A6

    #4F38A6

    oklch(43.4% 0.168 286.8)

  • #575400

    #575400

    oklch(43.5% 0.093 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F38A6

    #4F38A6

    oklch(43.4% 0.168 286.8)

  • #004DA2

    #004DA2

    oklch(43.4% 0.153 256.8)

  • #74268C

    #74268C

    oklch(43.4% 0.169 317)

Open the analogous palette in the generator

Split complementary

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

  • #4F38A6

    #4F38A6

    oklch(43.4% 0.168 286.8)

  • #6C4900

    #6C4900

    oklch(43.3% 0.091 77.3)

  • #296000

    #296000

    oklch(43.4% 0.131 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F38A6

    #4F38A6

    oklch(43.4% 0.168 286.8)

  • #843600

    #843600

    oklch(43.4% 0.121 46.6)

  • #006046

    #006046

    oklch(43.4% 0.089 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F38A6

    #4F38A6

    oklch(43.4% 0.168 286.8)

  • #970A2E

    #970A2E

    oklch(43.3% 0.168 16.7)

  • #575400

    #575400

    oklch(43.5% 0.093 107.3)

  • #005D5E

    #005D5E

    oklch(43.4% 0.074 196.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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