#4D478E

Closest named color: Blueberry (#464196). oklch(44% 0.114 284.5), rgb(77, 71, 142).

Aa

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

About this color

#4D478E is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.114 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.025 away. White text reads best on it, at 8.05:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.60:1
White text8.05:1

Values

HEX#4D478E
RGBrgb(77, 71, 142)
HSLhsl(245, 33%, 42%)
OKLCHoklch(44% 0.114 284.5)

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 #4D478E 8.05:1 AAA Lc -92.4 Preferred for body text
Black text on #4D478E 2.60:1 Fails Lc 16.3 Dividers and decoration only
#4D478E text on white 8.05:1 AAA Lc 87.7 Fine for body text
#4D478E text on black 2.60:1 Fails Lc -14.4 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BBBBEB

    oklch(80.8% 0.067 284.8)

  5. Step 400

    400

    #9997E0

    oklch(70.6% 0.106 284.6)

  6. Step 500

    500

    #817CD8

    oklch(63.1% 0.136 284.3)

  7. Step 600

    600

    #6C63C5

    oklch(55.6% 0.148 284.7)

  8. Step 700

    700

    #5A52AA

    oklch(49.1% 0.136 284.3)

  9. Step 800

    800 (this color)

    #4D478E

    oklch(44% 0.114 284.5)

  10. Step 900

    900

    #3D396E

    oklch(37.6% 0.089 284.7)

  11. Step 950

    950

    #242241

    oklch(27.1% 0.057 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D478E 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)#2952910.051
Deuteranopia (no green cones)#264E8C0.051
Tritanopia (no blue cones)#3856640.096
Achromatopsia (no color)#5050500.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D478E

    #4D478E

    oklch(44% 0.114 284.5)

  • #5B5500

    #5B5500

    oklch(44.1% 0.094 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D478E

    #4D478E

    oklch(44% 0.114 284.5)

  • #1F538F

    #1F538F

    oklch(44% 0.113 254.3)

  • #693C7D

    #693C7D

    oklch(43.9% 0.114 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #4D478E

    #4D478E

    oklch(44% 0.114 284.5)

  • #704A00

    #704A00

    oklch(44.1% 0.093 75.3)

  • #366014

    #366014

    oklch(44.2% 0.114 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D478E

    #4D478E

    oklch(44% 0.114 284.5)

  • #843913

    #843913

    oklch(44% 0.114 44)

  • #006245

    #006245

    oklch(43.9% 0.093 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D478E

    #4D478E

    oklch(44% 0.114 284.5)

  • #85333E

    #85333E

    oklch(44% 0.113 14.9)

  • #5B5500

    #5B5500

    oklch(44.1% 0.094 104.9)

  • #005F5F

    #005F5F

    oklch(44% 0.075 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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