#4A487E

Closest named color: Twilight (#4E518B). oklch(42.9% 0.088 283.7), rgb(74, 72, 126).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.51:1
White text8.33:1

Values

HEX#4A487E
RGBrgb(74, 72, 126)
HSLhsl(242, 27%, 39%)
OKLCHoklch(42.9% 0.088 283.7)

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 #4A487E 8.33:1 AAA Lc -93.3 Preferred for body text
Black text on #4A487E 2.51:1 Fails Lc 15.3 Dividers and decoration only
#4A487E text on white 8.33:1 AAA Lc 88.7 Fine for body text
#4A487E text on black 2.51:1 Fails Lc -13.5 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400

    #9A9AD3

    oklch(70.7% 0.083 284.1)

  6. Step 500

    500

    #8180C7

    oklch(63% 0.106 283.6)

  7. Step 600

    600

    #6C69B4

    oklch(55.7% 0.115 283.8)

  8. Step 700

    700

    #5A579A

    oklch(49.1% 0.105 283.8)

  9. Step 800

    800 (this color)

    #4A487E

    oklch(42.9% 0.088 283.7)

  10. Step 900

    900

    #3D3C65

    oklch(37.7% 0.069 283.7)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#4A487E 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)#3550800.034
Deuteranopia (no green cones)#334C7D0.033
Tritanopia (no blue cones)#3B535D0.076
Achromatopsia (no color)#4E4E4E0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A487E

    #4A487E

    oklch(42.9% 0.088 283.7)

  • #585105

    #585105

    oklch(42.8% 0.088 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A487E

    #4A487E

    oklch(42.9% 0.088 283.7)

  • #2A517F

    #2A517F

    oklch(42.9% 0.089 253.9)

  • #614071

    #614071

    oklch(43% 0.087 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #4A487E

    #4A487E

    oklch(42.9% 0.088 283.7)

  • #6C4706

    #6C4706

    oklch(42.9% 0.088 73.9)

  • #3B5A24

    #3B5A24

    oklch(43% 0.089 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A487E

    #4A487E

    oklch(42.9% 0.088 283.7)

  • #773E25

    #773E25

    oklch(43% 0.088 43.5)

  • #0A5E42

    #0A5E42

    oklch(42.8% 0.088 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A487E

    #4A487E

    oklch(42.9% 0.088 283.7)

  • #783941

    #783941

    oklch(42.9% 0.088 13.6)

  • #585105

    #585105

    oklch(42.8% 0.088 103.6)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 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 #4A487E, closest first.

Similar named colors

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

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