#4A237D

Closest named color: Indigo (#4B0082). oklch(36.3% 0.144 298.8), rgb(74, 35, 125).

Aa

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

About this color

#4A237D is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.144 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.043 away. White text reads best on it, at 11.48:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.144)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.82:1
White text11.48:1

Values

HEX#4A237D
RGBrgb(74, 35, 125)
HSLhsl(266, 56%, 31%)
OKLCHoklch(36.3% 0.144 298.8)

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 #4A237D 11.48:1 AAA Lc -99.6 Preferred for body text
Black text on #4A237D 1.82:1 Fails Lc 8.1 Not readable
#4A237D text on white 11.48:1 AAA Lc 95.8 Preferred for body text
#4A237D text on black 1.82:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB1FD

    oklch(80.9% 0.108 299.1)

  5. Step 400

    400

    #B084FC

    oklch(70.6% 0.173 298.8)

  6. Step 500

    500

    #9E5FF9

    oklch(63.1% 0.22 298.7)

  7. Step 600

    600

    #8A3DE8

    oklch(55.5% 0.24 298.7)

  8. Step 700

    700

    #762DCA

    oklch(49.2% 0.223 298.8)

  9. Step 800

    800

    #6028A3

    oklch(42.7% 0.184 299)

  10. Step 900

    900 (this color)

    #4A237D

    oklch(36.3% 0.144 298.8)

  11. Step 950

    950

    #2D194C

    oklch(27.1% 0.091 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#4A237D 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)#0039800.097
Deuteranopia (no green cones)#00387B0.098
Tritanopia (no blue cones)#3E394D0.109
Achromatopsia (no color)#3939390.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A237D

    #4A237D

    oklch(36.3% 0.144 298.8)

  • #394300

    #394300

    oklch(36.1% 0.085 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A237D

    #4A237D

    oklch(36.3% 0.144 298.8)

  • #203288

    #203288

    oklch(36.2% 0.145 268.8)

  • #631462

    #631462

    oklch(36.2% 0.144 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #4A237D

    #4A237D

    oklch(36.3% 0.144 298.8)

  • #4E3B00

    #4E3B00

    oklch(36.3% 0.074 88.2)

  • #004C1C

    #004C1C

    oklch(36.4% 0.103 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A237D

    #4A237D

    oklch(36.3% 0.144 298.8)

  • #5E3000

    #5E3000

    oklch(36.2% 0.086 58.5)

  • #00493E

    #00493E

    oklch(36.3% 0.067 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A237D

    #4A237D

    oklch(36.3% 0.144 298.8)

  • #780605

    #780605

    oklch(36.3% 0.144 28.8)

  • #394300

    #394300

    oklch(36.1% 0.085 118.8)

  • #00474F

    #00474F

    oklch(36.4% 0.062 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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