#503286#503286

#503286 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.135 H 296.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#503286
RGBrgb(80, 50, 134)
HSLhsl(261, 46%, 36%)
HSVhsv(261, 63%, 53%)
CMYKcmyk(40.3%, 62.7%, 0%, 47.5%)
CIE-LABlab(28.66, 33.26, -42.43)
CIE-LCHlch(28.66, 53.92, 308.09°)
OKLaboklab(39.92% 0.0595 -0.1208)
OKLCHoklch(39.92% 0.135 296.2)
XYZxyz(8.7508, 5.7077, 23.1903)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503286 #688632
analogous
#323E86 #503286 #7A3286
triadic
#503286 #865032 #328650
tetradic
#503286 #86323E #688632 #32867A
square
#503286 #86323E #688632 #32867A
split-complementary
#503286 #867A32 #3E8632
monochromatic
#1B112D #352159 #503286 #6B43B3 #8C6BC8

Accessibility & contrast

On white

9.81
#503286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#503286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503286
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503286#FFFFFF#000000##FFFFFF
##5032861.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#084284
Tritanopia (blue-blind)
#434457
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #503286;
/* rgb */ color: rgb(80, 50, 134);
/* oklch */ color: oklch(39.9% 0.135 296.2);
Tailwind
colors: {
  custom: {
    50: '#856baa',
    500: '#503286',
    950: '#000000',
  },
}
SCSS
$custom: #503286;
$custom-light: #856baa;
$custom-dark: #000000;
JSON
{
  "hex": "#503286",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 261.429,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.13461,
    "h": 296.2
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#503286
secondary
#95AF64
accent
#D552A7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503286

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

Preview Lab → · Contrast checker → · Palette generator →

#503286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva