#4D4A8D

Closest named color: Twilight (#4E518B). oklch(44.6% 0.107 283.2), rgb(77, 74, 141).

Aa

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

About this color

#4D4A8D is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.107 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.021 away. White text reads best on it, at 7.83:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.67:1
White text7.83:1

Values

HEX#4D4A8D
RGBrgb(77, 74, 141)
HSLhsl(243, 31%, 42%)
OKLCHoklch(44.6% 0.107 283.2)

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 #4D4A8D 7.83:1 AAA Lc -91.8 Preferred for body text
Black text on #4D4A8D 2.67:1 Fails Lc 16.9 Dividers and decoration only
#4D4A8D text on white 7.83:1 AAA Lc 87.1 Fine for body text
#4D4A8D text on black 2.67:1 Fails Lc -15.0 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 800.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE9

    oklch(80.9% 0.063 282.9)

  5. Step 400

    400

    #9898DE

    oklch(70.7% 0.102 283.5)

  6. Step 500

    500

    #807ED4

    oklch(63.2% 0.127 283.2)

  7. Step 600

    600

    #6A65C1

    oklch(55.6% 0.139 283.3)

  8. Step 700

    700

    #5854A7

    oklch(49.2% 0.129 282.7)

  9. Step 800

    800 (this color)

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  10. Step 900

    900

    #3C3A6C

    oklch(37.6% 0.084 283.4)

  11. Step 950

    950

    #23223F

    oklch(26.9% 0.053 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#4D4A8D 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)#2F548F0.044
Deuteranopia (no green cones)#2C508B0.044
Tritanopia (no blue cones)#3958640.093
Achromatopsia (no color)#5252520.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D4A8D

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  • #5E5600

    #5E5600

    oklch(44.7% 0.094 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D4A8D

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  • #22558E

    #22558E

    oklch(44.5% 0.108 253.5)

  • #69407E

    #69407E

    oklch(44.6% 0.108 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #4D4A8D

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  • #734A00

    #734A00

    oklch(44.5% 0.095 73)

  • #3B601A

    #3B601A

    oklch(44.5% 0.107 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D4A8D

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  • #833D1C

    #833D1C

    oklch(44.6% 0.107 43.8)

  • #006445

    #006445

    oklch(44.5% 0.095 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D4A8D

    #4D4A8D

    oklch(44.6% 0.107 283.2)

  • #853743

    #853743

    oklch(44.7% 0.107 13.1)

  • #5E5600

    #5E5600

    oklch(44.7% 0.094 103.3)

  • #006160

    #006160

    oklch(44.6% 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 #4D4A8D, closest first.

Similar named colors

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

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