#4E226F

Closest named color: Royal Purple (#4B006E). oklch(35.5% 0.13 307.3), rgb(78, 34, 111).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.78:1
White text11.78:1

Values

HEX#4E226F
RGBrgb(78, 34, 111)
HSLhsl(274, 53%, 28%)
OKLCHoklch(35.5% 0.13 307.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 #4E226F 11.78:1 AAA Lc -100.2 Preferred for body text
Black text on #4E226F 1.78:1 Fails Lc 7.4 Not readable
#4E226F text on white 11.78:1 AAA Lc 96.5 Preferred for body text
#4E226F text on black 1.78: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F6

    oklch(88.4% 0.055 306.7)

  4. Step 300

    300

    #D1B0F2

    oklch(80.8% 0.098 307.1)

  5. Step 400

    400

    #BA84EB

    oklch(70.7% 0.155 307)

  6. Step 500

    500

    #AA60E5

    oklch(63.2% 0.199 307.3)

  7. Step 600

    600

    #9541D3

    oklch(55.6% 0.216 307)

  8. Step 700

    700

    #7F31B6

    oklch(49% 0.2 307.2)

  9. Step 800

    800

    #672A94

    oklch(42.6% 0.167 306.9)

  10. Step 900

    900 (this color)

    #4E226F

    oklch(35.5% 0.13 307.3)

  11. Step 950

    950

    #311945

    oklch(27% 0.082 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E226F 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)#0036710.108
Deuteranopia (no green cones)#11386D0.101
Tritanopia (no blue cones)#4932450.091
Achromatopsia (no color)#3838380.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E226F

    #4E226F

    oklch(35.5% 0.13 307.3)

  • #2E4400

    #2E4400

    oklch(35.5% 0.092 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E226F

    #4E226F

    oklch(35.5% 0.13 307.3)

  • #2E2F7D

    #2E2F7D

    oklch(35.5% 0.129 277)

  • #631653

    #631653

    oklch(35.5% 0.13 337.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E226F

    #4E226F

    oklch(35.5% 0.13 307.3)

  • #473B00

    #473B00

    oklch(35.4% 0.073 96.2)

  • #004829

    #004829

    oklch(35.3% 0.084 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E226F

    #4E226F

    oklch(35.5% 0.13 307.3)

  • #563200

    #563200

    oklch(35.4% 0.078 67.2)

  • #004641

    #004641

    oklch(35.5% 0.062 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E226F

    #4E226F

    oklch(35.5% 0.13 307.3)

  • #6C1C00

    #6C1C00

    oklch(35.6% 0.118 37.3)

  • #2E4400

    #2E4400

    oklch(35.5% 0.092 127.5)

  • #004451

    #004451

    oklch(35.6% 0.063 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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