#4F226E

Closest named color: Royal Purple (#4B006E). oklch(35.6% 0.129 308.4), rgb(79, 34, 110).

Aa

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

About this color

#4F226E is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.129 and its hue 308°. 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.75:1.

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

Values

HEX#4F226E
RGBrgb(79, 34, 110)
HSLhsl(276, 53%, 28%)
OKLCHoklch(35.6% 0.129 308.4)

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 #4F226E 11.75:1 AAA Lc -100.1 Preferred for body text
Black text on #4F226E 1.78:1 Fails Lc 7.4 Not readable
#4F226E text on white 11.75:1 AAA Lc 96.4 Preferred for body text
#4F226E 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

    #E3D0F5

    oklch(88.5% 0.054 308.4)

  4. Step 300

    300

    #D2B0F1

    oklch(80.9% 0.097 308.1)

  5. Step 400

    400

    #BC83E9

    oklch(70.6% 0.155 308.7)

  6. Step 500

    500

    #AB60E3

    oklch(63.2% 0.197 308.2)

  7. Step 600

    600

    #9740D0

    oklch(55.5% 0.215 308.6)

  8. Step 700

    700

    #8131B4

    oklch(49.1% 0.199 308.6)

  9. Step 800

    800

    #692A92

    oklch(42.7% 0.166 308.7)

  10. Step 900

    900 (this color)

    #4F226E

    oklch(35.6% 0.129 308.4)

  11. Step 950

    950

    #321944

    oklch(27.1% 0.081 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#4F226E 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)#0036700.110
Deuteranopia (no green cones)#14386C0.101
Tritanopia (no blue cones)#4A32450.090
Achromatopsia (no color)#3838380.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F226E

    #4F226E

    oklch(35.6% 0.129 308.4)

  • #2D4500

    #2D4500

    oklch(35.7% 0.094 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F226E

    #4F226E

    oklch(35.6% 0.129 308.4)

  • #302F7D

    #302F7D

    oklch(35.6% 0.129 278.2)

  • #631752

    #631752

    oklch(35.5% 0.128 338.4)

Open the analogous palette in the generator

Split complementary

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

  • #4F226E

    #4F226E

    oklch(35.6% 0.129 308.4)

  • #463C00

    #463C00

    oklch(35.6% 0.074 98.7)

  • #00492B

    #00492B

    oklch(35.7% 0.083 158.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F226E

    #4F226E

    oklch(35.6% 0.129 308.4)

  • #563300

    #563300

    oklch(35.6% 0.078 68.5)

  • #004642

    #004642

    oklch(35.5% 0.062 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F226E

    #4F226E

    oklch(35.6% 0.129 308.4)

  • #6B1E00

    #6B1E00

    oklch(35.6% 0.115 38.5)

  • #2D4500

    #2D4500

    oklch(35.7% 0.094 128.6)

  • #004452

    #004452

    oklch(35.7% 0.064 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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