#4B227E

Closest named color: Indigo (#4B0082). oklch(36.3% 0.146 299.3), rgb(75, 34, 126).

Aa

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

About this color

#4B227E is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.146 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.041 away. White text reads best on it, at 11.48:1.

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

Values

HEX#4B227E
RGBrgb(75, 34, 126)
HSLhsl(267, 58%, 31%)
OKLCHoklch(36.3% 0.146 299.3)

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

    #F7F3FE

    oklch(97% 0.015 302.6)

  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

    #CBB1FE

    oklch(81% 0.11 299.5)

  5. Step 400

    400

    #B183FD

    oklch(70.6% 0.176 299.3)

  6. Step 500

    500

    #A05DFB

    oklch(63.1% 0.225 299.4)

  7. Step 600

    600

    #8C3AEA

    oklch(55.6% 0.245 299.3)

  8. Step 700

    700

    #772ACB

    oklch(49.1% 0.226 299.2)

  9. Step 800

    800

    #6126A4

    oklch(42.7% 0.188 299.5)

  10. Step 900

    900 (this color)

    #4B227E

    oklch(36.3% 0.146 299.3)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#4B227E 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)#0039810.100
Deuteranopia (no green cones)#00397C0.101
Tritanopia (no blue cones)#3F384D0.110
Achromatopsia (no color)#3939390.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B227E

    #4B227E

    oklch(36.3% 0.146 299.3)

  • #394400

    #394400

    oklch(36.4% 0.086 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B227E

    #4B227E

    oklch(36.3% 0.146 299.3)

  • #213289

    #213289

    oklch(36.3% 0.146 269.2)

  • #641362

    #641362

    oklch(36.3% 0.146 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #4B227E

    #4B227E

    oklch(36.3% 0.146 299.3)

  • #4E3B00

    #4E3B00

    oklch(36.3% 0.074 88.2)

  • #004C1D

    #004C1D

    oklch(36.4% 0.102 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B227E

    #4B227E

    oklch(36.3% 0.146 299.3)

  • #5E3100

    #5E3100

    oklch(36.4% 0.086 59.7)

  • #00493F

    #00493F

    oklch(36.3% 0.066 179.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B227E

    #4B227E

    oklch(36.3% 0.146 299.3)

  • #790302

    #790302

    oklch(36.3% 0.147 29.1)

  • #394400

    #394400

    oklch(36.4% 0.086 119.6)

  • #004750

    #004750

    oklch(36.4% 0.063 209.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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