#504275

Closest named color: Dark Slate Blue (#483D8B). oklch(41.7% 0.084 295.1), rgb(80, 66, 117).

Aa

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

About this color

#504275 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.084 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.044 away. White text reads best on it, at 8.83:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.37:1
White text8.83:1

Values

HEX#504275
RGBrgb(80, 66, 117)
HSLhsl(256, 28%, 36%)
OKLCHoklch(41.7% 0.084 295.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 #504275 8.83:1 AAA Lc -94.6 Preferred for body text
Black text on #504275 2.37:1 Fails Lc 13.9 Not readable
#504275 text on white 8.83:1 AAA Lc 90.1 Preferred for body text
#504275 text on black 2.37:1 Fails Lc -12.2 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 800.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EA

    oklch(88.5% 0.028 295)

  4. Step 300

    300

    #C2BBDE

    oklch(80.9% 0.049 294.4)

  5. Step 400

    400

    #A497CD

    oklch(70.7% 0.079 295.4)

  6. Step 500

    500

    #8E7DC0

    oklch(63.2% 0.1 295)

  7. Step 600

    600

    #7865AC

    oklch(55.5% 0.109 294.9)

  8. Step 700

    700

    #655494

    oklch(49.1% 0.101 294.6)

  9. Step 800

    800 (this color)

    #504275

    oklch(41.7% 0.084 295.1)

  10. Step 900

    900

    #443A61

    oklch(37.7% 0.066 294.8)

  11. Step 950

    950

    #282239

    oklch(27% 0.043 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#504275 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)#334B770.047
Deuteranopia (no green cones)#3549740.044
Tritanopia (no blue cones)#484B560.067
Achromatopsia (no color)#4A4A4A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #504275

    #504275

    oklch(41.7% 0.084 295.1)

  • #4B5112

    #4B5112

    oklch(41.6% 0.084 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504275

    #504275

    oklch(41.7% 0.084 295.1)

  • #364A7A

    #364A7A

    oklch(41.6% 0.084 265.8)

  • #633B65

    #633B65

    oklch(41.7% 0.084 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #504275

    #504275

    oklch(41.7% 0.084 295.1)

  • #614803

    #614803

    oklch(41.7% 0.084 85.3)

  • #2C582E

    #2C582E

    oklch(41.7% 0.084 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504275

    #504275

    oklch(41.7% 0.084 295.1)

  • #6F3E19

    #6F3E19

    oklch(41.7% 0.085 54.6)

  • #005A4A

    #005A4A

    oklch(41.7% 0.079 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504275

    #504275

    oklch(41.7% 0.084 295.1)

  • #733834

    #733834

    oklch(41.6% 0.084 25.3)

  • #4B5112

    #4B5112

    oklch(41.6% 0.084 114.8)

  • #00575F

    #00575F

    oklch(41.7% 0.071 205.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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