#474877

Closest named color: Dusk (#4E5481). oklch(42.3% 0.077 281.6), rgb(71, 72, 119).

Aa

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

About this color

#474877 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.077 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.038 away. White text reads best on it, at 8.53:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.46:1
White text8.53:1

Values

HEX#474877
RGBrgb(71, 72, 119)
HSLhsl(239, 25%, 37%)
OKLCHoklch(42.3% 0.077 281.6)

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 #474877 8.53:1 AAA Lc -93.8 Preferred for body text
Black text on #474877 2.46:1 Fails Lc 14.7 Not readable
#474877 text on white 8.53:1 AAA Lc 89.3 Fine for body text
#474877 text on black 2.46:1 Fails Lc -12.9 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDE

    oklch(81% 0.045 281.1)

  5. Step 400

    400

    #999CCD

    oklch(70.8% 0.071 281.7)

  6. Step 500

    500

    #8083C0

    oklch(63.2% 0.091 281.3)

  7. Step 600

    600

    #6A6BAD

    oklch(55.6% 0.101 281.9)

  8. Step 700

    700

    #585994

    oklch(49% 0.094 281.6)

  9. Step 800

    800 (this color)

    #474877

    oklch(42.3% 0.077 281.6)

  10. Step 900

    900

    #3C3D61

    oklch(37.6% 0.061 281.8)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#474877 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)#384E790.025
Deuteranopia (no green cones)#364B760.025
Tritanopia (no blue cones)#39515A0.067
Achromatopsia (no color)#4C4C4C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #474877

    #474877

    oklch(42.3% 0.077 281.6)

  • #574F14

    #574F14

    oklch(42.3% 0.078 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #474877

    #474877

    oklch(42.3% 0.077 281.6)

  • #2C5077

    #2C5077

    oklch(42.3% 0.078 251.8)

  • #5C416D

    #5C416D

    oklch(42.4% 0.078 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #474877

    #474877

    oklch(42.3% 0.077 281.6)

  • #684616

    #684616

    oklch(42.3% 0.078 71.7)

  • #3E5628

    #3E5628

    oklch(42.2% 0.076 131.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #474877

    #474877

    oklch(42.3% 0.077 281.6)

  • #713E2B

    #713E2B

    oklch(42.2% 0.078 40.9)

  • #1D5B40

    #1D5B40

    oklch(42.3% 0.078 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #474877

    #474877

    oklch(42.3% 0.077 281.6)

  • #723B43

    #723B43

    oklch(42.4% 0.077 11.7)

  • #574F14

    #574F14

    oklch(42.3% 0.078 101.4)

  • #005A58

    #005A58

    oklch(42.3% 0.073 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #474877 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.