#502783

Closest named color: Dark Slate Blue (#483D8B). oklch(38% 0.147 299.8), rgb(80, 39, 131).

Aa

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

About this color

#502783 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.147 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.052 away. White text reads best on it, at 10.71:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.147)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.95:1
White text10.71:1

Values

HEX#502783
RGBrgb(80, 39, 131)
HSLhsl(267, 54%, 33%)
OKLCHoklch(38% 0.147 299.8)

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 #502783 10.71:1 AAA Lc -98.2 Preferred for body text
Black text on #502783 1.95:1 Fails Lc 9.7 Not readable
#502783 text on white 10.71:1 AAA Lc 94.3 Preferred for body text
#502783 text on black 1.95:1 Fails Lc -8.3 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FD

    oklch(93.7% 0.032 299.7)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CBB1FD

    oklch(81% 0.109 299.7)

  5. Step 400

    400

    #B283FD

    oklch(70.7% 0.176 299.7)

  6. Step 500

    500

    #A15DFA

    oklch(63.2% 0.224 299.9)

  7. Step 600

    600

    #8D3AE9

    oklch(55.6% 0.244 299.9)

  8. Step 700

    700

    #7829CB

    oklch(49.1% 0.227 299.7)

  9. Step 800

    800

    #6125A4

    oklch(42.6% 0.189 299.6)

  10. Step 900

    900 (this color)

    #502783

    oklch(38% 0.147 299.8)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#502783 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)#003E860.103
Deuteranopia (no green cones)#003D810.104
Tritanopia (no blue cones)#443D520.110
Achromatopsia (no color)#3E3E3E0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #502783

    #502783

    oklch(38% 0.147 299.8)

  • #3D4900

    #3D4900

    oklch(38.1% 0.09 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502783

    #502783

    oklch(38% 0.147 299.8)

  • #26378F

    #26378F

    oklch(38.1% 0.146 269.7)

  • #6A1867

    #6A1867

    oklch(38% 0.148 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #502783

    #502783

    oklch(38% 0.147 299.8)

  • #534000

    #534000

    oklch(38.1% 0.078 89.6)

  • #005121

    #005121

    oklch(38% 0.105 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502783

    #502783

    oklch(38% 0.147 299.8)

  • #643500

    #643500

    oklch(38.1% 0.089 60.2)

  • #004E44

    #004E44

    oklch(38% 0.069 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502783

    #502783

    oklch(38% 0.147 299.8)

  • #7E0D05

    #7E0D05

    oklch(37.9% 0.146 29.9)

  • #3D4900

    #3D4900

    oklch(38.1% 0.09 119.8)

  • #004C56

    #004C56

    oklch(38.2% 0.066 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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