#50236A

Closest named color: Royal Purple (#4B006E). oklch(35.5% 0.123 310.9), rgb(80, 35, 106).

Aa

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

About this color

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

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

Values

HEX#50236A
RGBrgb(80, 35, 106)
HSLhsl(278, 50%, 28%)
OKLCHoklch(35.5% 0.123 310.9)

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

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300

    #D4B0ED

    oklch(80.9% 0.092 311.1)

  5. Step 400

    400

    #BE84E4

    oklch(70.7% 0.148 310.9)

  6. Step 500

    500

    #AD61DC

    oklch(63.1% 0.189 310.6)

  7. Step 600

    600

    #9943C9

    oklch(55.7% 0.205 311)

  8. Step 700

    700

    #8233AE

    oklch(49.1% 0.191 310.7)

  9. Step 800

    800

    #6A2C8D

    oklch(42.7% 0.158 310.8)

  10. Step 900

    900 (this color)

    #50236A

    oklch(35.5% 0.123 310.9)

  11. Step 950

    950

    #321942

    oklch(26.9% 0.078 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#50236A 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)#01366C0.111
Deuteranopia (no green cones)#1B39680.098
Tritanopia (no blue cones)#4D31430.084
Achromatopsia (no color)#3838380.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #50236A

    #50236A

    oklch(35.5% 0.123 310.9)

  • #294500

    #294500

    oklch(35.4% 0.097 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #50236A

    #50236A

    oklch(35.5% 0.123 310.9)

  • #332F79

    #332F79

    oklch(35.5% 0.122 280.6)

  • #63194F

    #63194F

    oklch(35.6% 0.123 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #50236A

    #50236A

    oklch(35.5% 0.123 310.9)

  • #453C00

    #453C00

    oklch(35.5% 0.074 99.8)

  • #00482E

    #00482E

    oklch(35.5% 0.079 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #50236A

    #50236A

    oklch(35.5% 0.123 310.9)

  • #553400

    #553400

    oklch(35.7% 0.077 70.8)

  • #004643

    #004643

    oklch(35.6% 0.061 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #50236A

    #50236A

    oklch(35.5% 0.123 310.9)

  • #682100

    #682100

    oklch(35.4% 0.109 40.9)

  • #294500

    #294500

    oklch(35.4% 0.097 130.8)

  • #004354

    #004354

    oklch(35.5% 0.065 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #50236A 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.