Skip to content

#503c85

a dark, soft violet · cool · closest name: Dark Slate Blue

RGB
80, 60, 133
HSL
256°, 38%, 38%
CMYK
40, 55, 0, 48
Luminance
0.0663

At a glance

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

Hex
#503c85
Hue
256°
violet
Saturation
38%
soft
Lightness
38%
dark
Brightness
52%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0663
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Soft
Best ink
White
9.03:1
Closest name
Dark Slate Blue
ΔE2000 2.5
Where it sits
Hue256° of 360°
Saturation38%
Lightness38%
Temperature
Warm ← → Cool74% cool

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

Every format

HEX#503c85
RGBrgb(80, 60, 133)
HSLhsl(256, 38%, 38%)
CMYKcmyk(40%, 55%, 0%, 48%)
LABlab(30.9 26.8 -38.1)
LCHlch(30.9 46.6 305.1)
OKLCHoklch(0.416 0.118 293.2)
Decimal5258373
Display P3color(display-p3 0.314 0.235 0.522)

Copy-ready code

/* CSS */
color: #503c85;
background-color: #503c85;
/* Tailwind (arbitrary) */
class="text-[#503c85] bg-[#503c85]"
/* SCSS */
$brand: #503c85;
/* SwiftUI */
Color(red: 0.314, green: 0.235, blue: 0.522)
/* Android */
Color.parseColor("#503c85")
/* Flutter */
Color(0xFF503C85)
/* Python / OpenCV (BGR) */
(133, 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 #503c85 · 9.03:1
Use #ffffffAAA at every size.
Aa
White text · 9.03:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.33:1
AA fail · AA large fail · AAA fail
Reading the other direction: #503c85 as text scores 9.03:1 on white and 2.33:1 on black.

Accessibility — WCAG contrast

Aa
#503c85 on white: 9.03:1
AA ✓ pass · AA-large · AAA
Aa
#503c85 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1C4A88
deuteranopia · #214883
tritanopia · #434B5A

Color scale — 50 to 950

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

#F6F5FA
#EEEBF4
#D9D3E9
#BDB2DC
#9C8BCB
#7C64B9
#654CA9
#503c85
#443370
#342852
#201934
Base = 700Lightest = 50 · #F6F5FADarkest = 950 · #201934
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EEEBF4;
  --brand-200: #D9D3E9;
  --brand-300: #BDB2DC;
  --brand-400: #9C8BCB;
  --brand-500: #7C64B9;
  --brand-600: #654CA9;
  --brand-700: #503c85;
  --brand-800: #443370;
  --brand-900: #342852;
  --brand-950: #201934;
  --brand: #503c85;
  --brand-ink: #ffffff;
}

Colors that work with #503c85

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#F6F4FA
Tinted page background
Border#CFC7E6
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#878938
Second voice, not a rival
Dark variant#352858
Hover, pressed, headers
Light variant#F0EDF7
Selected rows, tints
Dark surface#181424
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 #503c85

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#71853C
Analogous left#3C4C85
Analogous right#743C85
Split-complement 1#85743C
Split-complement 2#4C853C
Triadic 1#85503C
Triadic 2#3C8550
Tetradic#853C4C

RGB percentages

Red31.4%
Green23.5%
Blue52.2%

CMYK percentages

Cyan39.8%
Magenta54.9%
Yellow0.0%
Key (black)47.8%

Color previews

#503c85 text on a black background

contrast 2.33:1

Card sample

#503c85 text on a white background

contrast 9.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #503c85

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.

#503c85 in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#503c85, answered

What color is #503c85?

#503c85 is a dark soft violet, closest to Dark Slate Blue (ΔE2000 2.5). It sits at 256° on the hue wheel with 38% saturation and 38% lightness, which reads as cool.

What is the RGB value of #503c85?

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

Is #503c85 a light or a dark color?

It is a dark color. Relative luminance is 0.0663 and perceived brightness is 30%, so white text on it reaches 9.03:1.

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

White. It scores 9.03:1 against #503c85, versus 2.33:1 for black — AAA at any size.

What is the complementary color of #503c85?

#71853C sits directly opposite on the wheel. Softer options are the split-complements #85743C and #4C853C, which give the same contrast with far less vibration.

What colors go well with #503c85?

For interface work: #F6F4FA as the surface, #CFC7E6 for borders, #614B9B for secondary text, #878938 as an accent and #352858 for hover and pressed states. For a palette, the analogous pair #3C4C85 and #743C85 stays calm, while #71853C is the loudest partner.

What is #503c85 in CMYK for printing?

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

Is #503c85 warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B3C85; nudged cooler, #3A4187.

Work with #503c85 in the Color Lab