#503C8D#503C8D

#503C8D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.2% C 0.129 H 291.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#503C8D
RGBrgb(80, 60, 141)
HSLhsl(255, 40%, 39%)
HSVhsv(255, 57%, 55%)
CMYKcmyk(43.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(31.49, 29.22, -42.22)
CIE-LCHlch(31.49, 51.34, 304.69°)
OKLaboklab(42.15% 0.0467 -0.1201)
OKLCHoklch(42.15% 0.129 291.2)
XYZxyz(9.7305, 6.8600, 26.0056)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C8D #798D3C
analogous
#3C508D #503C8D #793C8D
triadic
#503C8D #8D503C #3C8D50
tetradic
#503C8D #8D3C50 #798D3C #3C8D79
square
#503C8D #8D3C50 #798D3C #3C8D79
split-complementary
#503C8D #8D793C #508D3C
monochromatic
#1F1737 #382A62 #503C8D #6A51B5 #8F7CC7

Accessibility & contrast

On white

8.85
#503C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#503C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C8D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C8D#FFFFFF#000000##FFFFFF
##503C8D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B90
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#3F4D5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503c8d;
/* rgb */ color: rgb(80, 60, 141);
/* oklch */ color: oklch(42.2% 0.129 291.2);
Tailwind
colors: {
  custom: {
    50: '#8572af',
    500: '#503c8d',
    950: '#000000',
  },
}
SCSS
$custom: #503c8d;
$custom-light: #8572af;
$custom-dark: #000000;
JSON
{
  "hex": "#503c8d",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 254.815,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.12887,
    "h": 291.2
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#503C8D
secondary
#A2B174
accent
#D058B2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503C8D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#503C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva