#503F82#503F82

#503F82 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.108 H 292.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#503F82
RGBrgb(80, 63, 130)
HSLhsl(255, 35%, 38%)
HSVhsv(255, 52%, 51%)
CMYKcmyk(38.5%, 51.5%, 0%, 49%)
CIE-LABlab(31.51, 24.05, -35.37)
CIE-LCHlch(31.51, 42.77, 304.22°)
OKLaboklab(41.94% 0.0421 -0.1)
OKLCHoklch(41.94% 0.109 292.8)
XYZxyz(9.1140, 6.8720, 21.9610)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F82 #71823F
analogous
#3F4F82 #503F82 #713F82
triadic
#503F82 #82503F #3F8250
tetradic
#503F82 #823F4F #71823F #3F8271
square
#503F82 #823F4F #71823F #3F8271
split-complementary
#503F82 #82713F #4F823F
monochromatic
#1D1730 #372B59 #503F82 #6953AB #8D7CBF

Accessibility & contrast

On white

8.84
#503F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503F82
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F82#FFFFFF#000000##FFFFFF
##503F821.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#444C5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503f82;
/* rgb */ color: rgb(80, 63, 130);
/* oklch */ color: oklch(41.9% 0.108 292.8);
Tailwind
colors: {
  custom: {
    50: '#8474a7',
    500: '#503f82',
    950: '#000000',
  },
}
SCSS
$custom: #503f82;
$custom-light: #8474a7;
$custom-dark: #000000;
JSON
{
  "hex": "#503f82",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 255.224,
    "s": 34.715,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.1085,
    "h": 292.8
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#503F82
secondary
#9CAA73
accent
#CB5DAF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #503F82

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

Preview Lab → · Contrast checker → · Palette generator →

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