#503C73#503C73

#503C73 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.4% C 0.092 H 299.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#503C73
RGBrgb(80, 60, 115)
HSLhsl(262, 31%, 34%)
HSVhsv(262, 48%, 45%)
CMYKcmyk(30.4%, 47.8%, 0%, 54.9%)
CIE-LABlab(29.85, 21.66, -28.61)
CIE-LCHlch(29.85, 35.89, 307.12°)
OKLaboklab(40.41% 0.0445 -0.0803)
OKLCHoklch(40.41% 0.092 299)
XYZxyz(8.0179, 6.1749, 16.9858)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C73 #5F733C
analogous
#3C4473 #503C73 #6C3C73
triadic
#503C73 #73503C #3C7350
tetradic
#503C73 #733C44 #5F733C #3C736C
square
#503C73 #733C44 #5F733C #3C736C
split-complementary
#503C73 #736C3C #44733C
monochromatic
#181223 #34274B #503C73 #6C519B #8C73B6

Accessibility & contrast

On white

9.40
#503C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#503C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C73
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C73#FFFFFF#000000##FFFFFF
##503C731.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#494652
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503c73;
/* rgb */ color: rgb(80, 60, 115);
/* oklch */ color: oklch(40.4% 0.092 299.0);
Tailwind
colors: {
  custom: {
    50: '#83729b',
    500: '#503c73',
    950: '#000000',
  },
}
SCSS
$custom: #503c73;
$custom-light: #83729b;
$custom-dark: #000000;
JSON
{
  "hex": "#503c73",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 115
  },
  "hsl": {
    "h": 261.818,
    "s": 31.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.0918,
    "h": 299
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#503C73
secondary
#8DA06B
accent
#C860A2
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #503C73

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

Preview Lab → · Contrast checker → · Palette generator →

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