#502169

Closest named color: Royal Purple (#4B006E). oklch(35.2% 0.125 311.7), rgb(80, 33, 105).

Aa

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

About this color

#502169 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.125 and its hue 312°. 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.91:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.76:1
White text11.91:1

Values

HEX#502169
RGBrgb(80, 33, 105)
HSLhsl(279, 52%, 27%)
OKLCHoklch(35.2% 0.125 311.7)

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 #502169 11.91:1 AAA Lc -100.4 Preferred for body text
Black text on #502169 1.76:1 Fails Lc 0.0 Not readable
#502169 text on white 11.91:1 AAA Lc 96.7 Preferred for body text
#502169 text on black 1.76: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

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D5B0ED

    oklch(81% 0.093 311.8)

  5. Step 400

    400

    #BF83E4

    oklch(70.7% 0.15 311.5)

  6. Step 500

    500

    #AF5FDC

    oklch(63.1% 0.192 311.7)

  7. Step 600

    600

    #9B41C9

    oklch(55.7% 0.208 311.9)

  8. Step 700

    700

    #8431AE

    oklch(49.1% 0.194 311.7)

  9. Step 800

    800

    #6B2A8D

    oklch(42.6% 0.161 311.6)

  10. Step 900

    900 (this color)

    #502169

    oklch(35.2% 0.125 311.7)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#502169 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)#00356B0.114
Deuteranopia (no green cones)#1A38670.100
Tritanopia (no blue cones)#4D2F420.084
Achromatopsia (no color)#3737370.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #502169

    #502169

    oklch(35.2% 0.125 311.7)

  • #274500

    #274500

    oklch(35.3% 0.098 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502169

    #502169

    oklch(35.2% 0.125 311.7)

  • #332D79

    #332D79

    oklch(35.2% 0.125 281.4)

  • #63164D

    #63164D

    oklch(35.2% 0.125 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #502169

    #502169

    oklch(35.2% 0.125 311.7)

  • #433C00

    #433C00

    oklch(35.2% 0.074 102.1)

  • #00472E

    #00472E

    oklch(35.2% 0.077 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502169

    #502169

    oklch(35.2% 0.125 311.7)

  • #533300

    #533300

    oklch(35.2% 0.076 71.3)

  • #004543

    #004543

    oklch(35.3% 0.061 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502169

    #502169

    oklch(35.2% 0.125 311.7)

  • #662200

    #662200

    oklch(35.2% 0.106 42.1)

  • #274500

    #274500

    oklch(35.3% 0.098 131.9)

  • #004253

    #004253

    oklch(35.1% 0.065 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #502169 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.