#505272

Closest named color: Dusty Grape (#545775). oklch(45% 0.052 281.3), rgb(80, 82, 114).

Aa

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

About this color

#505272 is a medium-dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.052 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.017 away. White text reads best on it, at 7.52:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromamuted (0.052)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.79:1
White text7.52:1

Values

HEX#505272
RGBrgb(80, 82, 114)
HSLhsl(236, 18%, 38%)
OKLCHoklch(45% 0.052 281.3)

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 #505272 7.52:1 AAA Lc -90.9 Preferred for body text
Black text on #505272 2.79:1 Fails Lc 17.9 Dividers and decoration only
#505272 text on white 7.52:1 AAA Lc 86.1 Fine for body text
#505272 text on black 2.79:1 Fails Lc -15.9 Dividers and decoration only

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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BDBFD4

    oklch(81% 0.029 281.4)

  5. Step 400

    400

    #9B9EBF

    oklch(70.8% 0.048 281)

  6. Step 500

    500

    #8285AF

    oklch(63% 0.063 281.2)

  7. Step 600

    600

    #6C6F9B

    oklch(55.7% 0.068 280.9)

  8. Step 700

    700

    #5A5D84

    oklch(49.2% 0.062 280.4)

  9. Step 800

    800 (this color)

    #505272

    oklch(45% 0.052 281.3)

  10. Step 900

    900

    #3E3F57

    oklch(37.7% 0.041 282.4)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#505272 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)#4956730.015
Deuteranopia (no green cones)#4753710.014
Tritanopia (no blue cones)#48585D0.046
Achromatopsia (no color)#5454540.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #505272

    #505272

    oklch(45% 0.052 281.3)

  • #5B5633

    #5B5633

    oklch(44.9% 0.052 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505272

    #505272

    oklch(45% 0.052 281.3)

  • #3F5772

    #3F5772

    oklch(44.9% 0.053 251.9)

  • #5F4D6B

    #5F4D6B

    oklch(45% 0.053 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #505272

    #505272

    oklch(45% 0.052 281.3)

  • #685134

    #685134

    oklch(45.1% 0.053 72.3)

  • #4B5B3D

    #4B5B3D

    oklch(44.9% 0.051 131)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505272

    #505272

    oklch(45% 0.052 281.3)

  • #6F4C3F

    #6F4C3F

    oklch(45.2% 0.052 41.2)

  • #3A5E4C

    #3A5E4C

    oklch(44.9% 0.051 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505272

    #505272

    oklch(45% 0.052 281.3)

  • #6F494E

    #6F494E

    oklch(45% 0.052 10.7)

  • #5B5633

    #5B5633

    oklch(44.9% 0.052 101.2)

  • #2F5F5C

    #2F5F5C

    oklch(45.1% 0.053 190.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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