#503C84#503C84

#503C84 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.5% C 0.116 H 293.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#503C84
RGBrgb(80, 60, 132)
HSLhsl(257, 38%, 38%)
HSVhsv(257, 55%, 52%)
CMYKcmyk(39.4%, 54.5%, 0%, 48.2%)
CIE-LABlab(30.89, 26.54, -37.62)
CIE-LCHlch(30.89, 46.04, 305.21°)
OKLaboklab(41.51% 0.0464 -0.1066)
OKLCHoklch(41.51% 0.116 293.5)
XYZxyz(9.0879, 6.6029, 22.6210)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C84 #70843C
analogous
#3C4C84 #503C84 #743C84
triadic
#503C84 #84503C #3C8450
tetradic
#503C84 #843C4C #70843C #3C8474
square
#503C84 #843C4C #70843C #3C8474
split-complementary
#503C84 #84743C #4C843C
monochromatic
#1D1630 #37295A #503C84 #6A4FAE #8D79C2

Accessibility & contrast

On white

9.05
#503C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#503C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C84
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C84#FFFFFF#000000##FFFFFF
##503C841.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A86
Deuteranopia (green-blind)
#224782
Tritanopia (blue-blind)
#434B5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #503c84;
/* rgb */ color: rgb(80, 60, 132);
/* oklch */ color: oklch(41.5% 0.116 293.5);
Tailwind
colors: {
  custom: {
    50: '#8472a8',
    500: '#503c84',
    950: '#000000',
  },
}
SCSS
$custom: #503c84;
$custom-light: #8472a8;
$custom-dark: #000000;
JSON
{
  "hex": "#503c84",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 256.667,
    "s": 37.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.11625,
    "h": 293.5
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#503C84
secondary
#9BAC70
accent
#CD5AAD
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503C84

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

Preview Lab → · Contrast checker → · Palette generator →

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