#50226C

Closest named color: Royal Purple (#4B006E). oklch(35.5% 0.127 310.1), rgb(80, 34, 108).

Aa

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

About this color

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

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

Values

HEX#50226C
RGBrgb(80, 34, 108)
HSLhsl(277, 52%, 28%)
OKLCHoklch(35.5% 0.127 310.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 #50226C 11.75:1 AAA Lc -100.1 Preferred for body text
Black text on #50226C 1.78:1 Fails Lc 7.4 Not readable
#50226C text on white 11.75:1 AAA Lc 96.4 Preferred for body text
#50226C 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

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E4D0F4

    oklch(88.5% 0.053 310.1)

  4. Step 300

    300

    #D4B0EF

    oklch(81% 0.095 310.3)

  5. Step 400

    400

    #BE83E7

    oklch(70.7% 0.153 310.2)

  6. Step 500

    500

    #AD5FDF

    oklch(63% 0.195 310.1)

  7. Step 600

    600

    #9941CD

    oklch(55.7% 0.211 310.1)

  8. Step 700

    700

    #8231B1

    oklch(49.1% 0.196 309.9)

  9. Step 800

    800

    #6A2A8F

    oklch(42.6% 0.163 310.3)

  10. Step 900

    900 (this color)

    #50226C

    oklch(35.5% 0.127 310.1)

  11. Step 950

    950

    #321943

    oklch(27% 0.079 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#50226C 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)#00366E0.112
Deuteranopia (no green cones)#18396A0.101
Tritanopia (no blue cones)#4C31440.087
Achromatopsia (no color)#3838380.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #50226C

    #50226C

    oklch(35.5% 0.127 310.1)

  • #2A4500

    #2A4500

    oklch(35.5% 0.096 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #50226C

    #50226C

    oklch(35.5% 0.127 310.1)

  • #322E7B

    #322E7B

    oklch(35.4% 0.127 280.1)

  • #641750

    #641750

    oklch(35.6% 0.127 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #50226C

    #50226C

    oklch(35.5% 0.127 310.1)

  • #453C00

    #453C00

    oklch(35.5% 0.074 99.8)

  • #00482D

    #00482D

    oklch(35.4% 0.08 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #50226C

    #50226C

    oklch(35.5% 0.127 310.1)

  • #553300

    #553300

    oklch(35.4% 0.077 69.4)

  • #004643

    #004643

    oklch(35.6% 0.061 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #50226C

    #50226C

    oklch(35.5% 0.127 310.1)

  • #692000

    #692000

    oklch(35.5% 0.111 40.1)

  • #2A4500

    #2A4500

    oklch(35.5% 0.096 130.3)

  • #004353

    #004353

    oklch(35.4% 0.065 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #50226C 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.