Skip to content

#503c52

a dark, soft magenta / pink · neutral · closest name: Dark Slate Blue

RGB
80, 60, 82
HSL
295°, 16%, 28%
CMYK
2, 27, 0, 68
Luminance
0.0555

At a glance

Every number on this page in one read: what #503c52 is made of, how bright it looks, and which way it leans.

Hex
#503c52
Hue
295°
magenta / pink
Saturation
16%
soft
Lightness
28%
dark
Brightness
32%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0555
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
9.96:1
Closest name
Dark Slate Blue
ΔE2000 16
Where it sits
Hue295° of 360°
Saturation16%
Lightness28%
Temperature
Warm ← → Cool51% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#503c52
RGBrgb(80, 60, 82)
HSLhsl(295, 16%, 28%)
CMYKcmyk(2%, 27%, 0%, 68%)
LABlab(28.2 13.2 -9.9)
LCHlch(28.2 16.5 323.2)
OKLCHoklch(0.387 0.045 323.4)
Decimal5258322
Display P3color(display-p3 0.314 0.235 0.322)

Copy-ready code

/* CSS */
color: #503c52;
background-color: #503c52;
/* Tailwind (arbitrary) */
class="text-[#503c52] bg-[#503c52]"
/* SCSS */
$brand: #503c52;
/* SwiftUI */
Color(red: 0.314, green: 0.235, blue: 0.322)
/* Android */
Color.parseColor("#503c52")
/* Flutter */
Color(0xFF503C52)
/* Python / OpenCV (BGR) */
(82, 60, 80)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #503c52 · 9.96:1
Use #ffffffAAA at every size.
Aa
White text · 9.96:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.11:1
AA fail · AA large fail · AAA fail
Reading the other direction: #503c52 as text scores 9.96:1 on white and 2.11:1 on black.

Accessibility — WCAG contrast

Aa
#503c52 on white: 9.96:1
AA ✓ pass · AA-large · AAA
Aa
#503c52 on black: 2.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3A4153
deuteranopia · #3F4351
tritanopia · #513E44

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #503c52 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F6F8
#F1EEF2
#E2D9E2
#CEBED0
#B69EB8
#9D7DA0
#8A678D
#735676
#5C455E
#503c52
#2B212C
Base = 900Lightest = 50 · #F8F6F8Darkest = 950 · #2B212C
:root {
  --brand-50: #F8F6F8;
  --brand-100: #F1EEF2;
  --brand-200: #E2D9E2;
  --brand-300: #CEBED0;
  --brand-400: #B69EB8;
  --brand-500: #9D7DA0;
  --brand-600: #8A678D;
  --brand-700: #735676;
  --brand-800: #5C455E;
  --brand-900: #503c52;
  --brand-950: #2B212C;
  --brand: #503c52;
  --brand-ink: #ffffff;
}

Colors that work with #503c52

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F8F6F9
Tinted page background
Border#DBD0DD
Hairlines and dividers
Muted text#816185
Captions on the surface
Accent#435539
Second voice, not a rival
Dark variant#48364A
Hover, pressed, headers
Light variant#F4F0F4
Selected rows, tints
Dark surface#201820
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #503c52

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#3E523C
Analogous left#453C52
Analogous right#523C49
Split-complement 1#49523C
Split-complement 2#3C5245
Triadic 1#52503C
Triadic 2#3C5250
Tetradic#52453C

RGB percentages

Red31.4%
Green23.5%
Blue32.2%

CMYK percentages

Cyan2.4%
Magenta26.8%
Yellow0.0%
Key (black)67.8%

Color previews

#503c52 text on a black background

contrast 2.11:1

Card sample

#503c52 text on a white background

contrast 9.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #503c52;
Background color
Panel with #503c52 background
background-color: #503c52;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #503c52;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 60, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 60, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #503c52;
background: linear-gradient(135deg, #503c52, #523C45);

Monochromatic scale

Palettes built from #503c52

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#503c52 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#503c52, answered

What color is #503c52?

#503c52 is a dark soft magenta / pink, closest to Dark Slate Blue (ΔE2000 16). It sits at 295° on the hue wheel with 16% saturation and 28% lightness, which reads as neutral.

What is the RGB value of #503c52?

rgb(80, 60, 82) — 80 red, 60 green and 82 blue out of 255, or 31.4% / 23.5% / 32.2% by channel.

Is #503c52 a light or a dark color?

It is a dark color. Relative luminance is 0.0555 and perceived brightness is 27%, so white text on it reaches 9.96:1.

Should I use black or white text on #503c52?

White. It scores 9.96:1 against #503c52, versus 2.11:1 for black — AAA at any size.

What is the complementary color of #503c52?

#3E523C sits directly opposite on the wheel. Softer options are the split-complements #49523C and #3C5245, which give the same contrast with far less vibration.

What colors go well with #503c52?

For interface work: #F8F6F9 as the surface, #DBD0DD for borders, #816185 for secondary text, #435539 as an accent and #48364A for hover and pressed states. For a palette, the analogous pair #453C52 and #523C49 stays calm, while #3E523C is the loudest partner.

What is #503c52 in CMYK for printing?

cmyk(2%, 27%, 0%, 68%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #503c52 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #523C4C; nudged cooler, #483A53.

Work with #503c52 in the Color Lab