#504170

Closest named color: Dark Slate Blue (#483D8B). oklch(41.2% 0.078 297.6), rgb(80, 65, 112).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.33:1
White text9.00:1

Values

HEX#504170
RGBrgb(80, 65, 112)
HSLhsl(259, 27%, 35%)
OKLCHoklch(41.2% 0.078 297.6)

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 #504170 9.00:1 AAA Lc -95.0 Preferred for body text
Black text on #504170 2.33:1 Fails Lc 13.4 Not readable
#504170 text on white 9.00:1 AAA Lc 90.6 Preferred for body text
#504170 text on black 2.33:1 Fails Lc -11.7 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

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C3BBDB

    oklch(80.9% 0.045 296.8)

  5. Step 400

    400

    #A597C9

    oklch(70.6% 0.073 297.3)

  6. Step 500

    500

    #907DBB

    oklch(63.1% 0.094 297.7)

  7. Step 600

    600

    #7A66A7

    oklch(55.7% 0.101 297.2)

  8. Step 700

    700

    #67548F

    oklch(49.1% 0.094 297.7)

  9. Step 800

    800 (this color)

    #504170

    oklch(41.2% 0.078 297.6)

  10. Step 900

    900

    #453A5E

    oklch(37.6% 0.062 297.4)

  11. Step 950

    950

    #292237

    oklch(27% 0.039 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#504170 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)#3449720.046
Deuteranopia (no green cones)#37486F0.042
Tritanopia (no blue cones)#4A49530.062
Achromatopsia (no color)#4949490.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #504170

    #504170

    oklch(41.2% 0.078 297.6)

  • #485019

    #485019

    oklch(41.2% 0.078 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504170

    #504170

    oklch(41.2% 0.078 297.6)

  • #384976

    #384976

    oklch(41.3% 0.079 267.3)

  • #613B61

    #613B61

    oklch(41.2% 0.078 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #504170

    #504170

    oklch(41.2% 0.078 297.6)

  • #5D480C

    #5D480C

    oklch(41.3% 0.078 87.7)

  • #2A5631

    #2A5631

    oklch(41.1% 0.078 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504170

    #504170

    oklch(41.2% 0.078 297.6)

  • #6A3F1B

    #6A3F1B

    oklch(41.2% 0.078 57.9)

  • #00584B

    #00584B

    oklch(41.2% 0.076 178.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504170

    #504170

    oklch(41.2% 0.078 297.6)

  • #6F3933

    #6F3933

    oklch(41.2% 0.077 27.5)

  • #485019

    #485019

    oklch(41.2% 0.078 117)

  • #00555F

    #00555F

    oklch(41.1% 0.071 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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