#4A226E

Closest named color: Royal Purple (#4B006E). oklch(34.9% 0.127 304.8), rgb(74, 34, 110).

Aa

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

About this color

#4A226E is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.127 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.047 away. White text reads best on it, at 12.03:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.74:1
White text12.03:1

Values

HEX#4A226E
RGBrgb(74, 34, 110)
HSLhsl(272, 53%, 28%)
OKLCHoklch(34.9% 0.127 304.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 #4A226E 12.03:1 AAA Lc -100.6 Preferred for body text
Black text on #4A226E 1.74:1 Fails Lc 0.0 Not readable
#4A226E text on white 12.03:1 AAA Lc 97.0 Preferred for body text
#4A226E text on black 1.74: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #CFB1F3

    oklch(80.9% 0.097 305.1)

  5. Step 400

    400

    #B786EC

    oklch(70.8% 0.152 305)

  6. Step 500

    500

    #A563E6

    oklch(63.1% 0.194 304.7)

  7. Step 600

    600

    #9144D4

    oklch(55.6% 0.212 304.9)

  8. Step 700

    700

    #7B34B8

    oklch(49% 0.198 304.6)

  9. Step 800

    800

    #642D95

    oklch(42.7% 0.163 304.5)

  10. Step 900

    900 (this color)

    #4A226E

    oklch(34.9% 0.127 304.8)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#4A226E 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)#0035700.102
Deuteranopia (no green cones)#0B366C0.097
Tritanopia (no blue cones)#4333450.092
Achromatopsia (no color)#3636360.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A226E

    #4A226E

    oklch(34.9% 0.127 304.8)

  • #304100

    #304100

    oklch(34.8% 0.087 124.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A226E

    #4A226E

    oklch(34.9% 0.127 304.8)

  • #2A2F7B

    #2A2F7B

    oklch(35% 0.127 274.9)

  • #5F1754

    #5F1754

    oklch(35% 0.127 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #4A226E

    #4A226E

    oklch(34.9% 0.127 304.8)

  • #463900

    #463900

    oklch(34.8% 0.071 94.6)

  • #004725

    #004725

    oklch(34.9% 0.087 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A226E

    #4A226E

    oklch(34.9% 0.127 304.8)

  • #563000

    #563000

    oklch(35% 0.079 64.5)

  • #00443E

    #00443E

    oklch(34.8% 0.061 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A226E

    #4A226E

    oklch(34.9% 0.127 304.8)

  • #6C1600

    #6C1600

    oklch(34.9% 0.123 34.8)

  • #304100

    #304100

    oklch(34.8% 0.087 124.6)

  • #00424E

    #00424E

    oklch(34.9% 0.062 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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