#4D488E

Closest named color: Twilight (#4E518B). oklch(44.2% 0.112 284.1), rgb(77, 72, 142).

Aa

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

About this color

#4D488E is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.112 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.027 away. White text reads best on it, at 7.97:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.63:1
White text7.97:1

Values

HEX#4D488E
RGBrgb(77, 72, 142)
HSLhsl(244, 33%, 42%)
OKLCHoklch(44.2% 0.112 284.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 #4D488E 7.97:1 AAA Lc -92.2 Preferred for body text
Black text on #4D488E 2.63:1 Fails Lc 16.5 Dividers and decoration only
#4D488E text on white 7.97:1 AAA Lc 87.5 Fine for body text
#4D488E text on black 2.63:1 Fails Lc -14.6 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

    #BBBCEA

    oklch(81% 0.065 283.9)

  5. Step 400

    400

    #9998E0

    oklch(70.8% 0.104 284)

  6. Step 500

    500

    #817CD7

    oklch(63.1% 0.134 284.3)

  7. Step 600

    600

    #6B64C4

    oklch(55.6% 0.145 283.9)

  8. Step 700

    700

    #5A52A9

    oklch(49.1% 0.135 284.4)

  9. Step 800

    800 (this color)

    #4D488E

    oklch(44.2% 0.112 284.1)

  10. Step 900

    900

    #3D3A6E

    oklch(37.8% 0.087 284)

  11. Step 950

    950

    #232240

    oklch(26.9% 0.055 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#4D488E 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)#2B53910.049
Deuteranopia (no green cones)#284F8C0.049
Tritanopia (no blue cones)#3857640.096
Achromatopsia (no color)#5151510.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D488E

    #4D488E

    oklch(44.2% 0.112 284.1)

  • #5C5500

    #5C5500

    oklch(44.2% 0.093 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D488E

    #4D488E

    oklch(44.2% 0.112 284.1)

  • #20548F

    #20548F

    oklch(44.3% 0.112 254)

  • #693E7E

    #693E7E

    oklch(44.3% 0.111 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #4D488E

    #4D488E

    oklch(44.2% 0.112 284.1)

  • #714A00

    #714A00

    oklch(44.2% 0.093 74.5)

  • #376016

    #376016

    oklch(44.3% 0.112 134.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D488E

    #4D488E

    oklch(44.2% 0.112 284.1)

  • #843A16

    #843A16

    oklch(44.2% 0.112 43.7)

  • #006345

    #006345

    oklch(44.2% 0.094 164.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D488E

    #4D488E

    oklch(44.2% 0.112 284.1)

  • #853440

    #853440

    oklch(44.1% 0.111 13.9)

  • #5C5500

    #5C5500

    oklch(44.2% 0.093 104.1)

  • #00605F

    #00605F

    oklch(44.2% 0.076 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 #4D488E, closest first.

Similar named colors

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

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