#4A237F

Closest named color: Indigo (#4B0082). oklch(36.4% 0.146 298.1), rgb(74, 35, 127).

Aa

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

About this color

#4A237F is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.146 and its hue 298°. 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.42:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.146)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.83:1
White text11.42:1

Values

HEX#4A237F
RGBrgb(74, 35, 127)
HSLhsl(265, 57%, 32%)
OKLCHoklch(36.4% 0.146 298.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 #4A237F 11.42:1 AAA Lc -99.5 Preferred for body text
Black text on #4A237F 1.83:1 Fails Lc 8.2 Not readable
#4A237F text on white 11.42:1 AAA Lc 95.7 Preferred for body text
#4A237F text on black 1.83: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

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FD

    oklch(88.5% 0.061 298.7)

  4. Step 300

    300

    #C9B1FE

    oklch(80.8% 0.109 298.2)

  5. Step 400

    400

    #AF84FE

    oklch(70.6% 0.176 298)

  6. Step 500

    500

    #9D5EFC

    oklch(63% 0.225 298)

  7. Step 600

    600

    #8A3CEB

    oklch(55.7% 0.244 298.2)

  8. Step 700

    700

    #752BCC

    oklch(49% 0.226 298.1)

  9. Step 800

    800

    #5F27A5

    oklch(42.7% 0.187 298.1)

  10. Step 900

    900 (this color)

    #4A237F

    oklch(36.4% 0.146 298.1)

  11. Step 950

    950

    #2D184D

    oklch(27% 0.094 298.1)

Export this scale for Tailwind in the Tailwind colors tool

#4A237F 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)#003A820.097
Deuteranopia (no green cones)#00397D0.098
Tritanopia (no blue cones)#3D394E0.110
Achromatopsia (no color)#3A3A3A0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A237F

    #4A237F

    oklch(36.4% 0.146 298.1)

  • #3A4400

    #3A4400

    oklch(36.5% 0.085 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A237F

    #4A237F

    oklch(36.4% 0.146 298.1)

  • #1F338A

    #1F338A

    oklch(36.5% 0.146 268.1)

  • #641464

    #641464

    oklch(36.5% 0.146 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #4A237F

    #4A237F

    oklch(36.4% 0.146 298.1)

  • #4E3B00

    #4E3B00

    oklch(36.3% 0.074 88.2)

  • #004C1A

    #004C1A

    oklch(36.3% 0.105 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A237F

    #4A237F

    oklch(36.4% 0.146 298.1)

  • #5F3000

    #5F3000

    oklch(36.4% 0.087 57.8)

  • #00493E

    #00493E

    oklch(36.3% 0.067 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A237F

    #4A237F

    oklch(36.4% 0.146 298.1)

  • #790306

    #790306

    oklch(36.4% 0.146 28)

  • #3A4400

    #3A4400

    oklch(36.5% 0.085 118.7)

  • #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 #4A237F, closest first.

Similar named colors

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

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