#503186#503186

#503186 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.136 H 296.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#503186
RGBrgb(80, 49, 134)
HSLhsl(262, 46%, 36%)
HSVhsv(262, 63%, 53%)
CMYKcmyk(40.3%, 63.4%, 0%, 47.5%)
CIE-LABlab(28.44, 33.85, -42.79)
CIE-LCHlch(28.44, 54.56, 308.35°)
OKLaboklab(39.76% 0.0607 -0.1218)
OKLCHoklch(39.76% 0.136 296.5)
XYZxyz(8.7085, 5.6232, 23.1762)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503186 #678631
analogous
#313C86 #503186 #7A3186
triadic
#503186 #865031 #318650
tetradic
#503186 #86313C #678631 #31867A
square
#503186 #86313C #678631 #31867A
split-complementary
#503186 #867A31 #3C8631
monochromatic
#1A102C #352159 #503186 #6B41B3 #8C69C8

Accessibility & contrast

On white

9.88
#503186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#503186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503186
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503186#FFFFFF#000000##FFFFFF
##5031861.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#434456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503186;
/* rgb */ color: rgb(80, 49, 134);
/* oklch */ color: oklch(39.8% 0.136 296.5);
Tailwind
colors: {
  custom: {
    50: '#856baa',
    500: '#503186',
    950: '#000000',
  },
}
SCSS
$custom: #503186;
$custom-light: #856baa;
$custom-dark: #000000;
JSON
{
  "hex": "#503186",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 261.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.13611,
    "h": 296.5
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#503186
secondary
#94B063
accent
#D652A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503186

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

Preview Lab → · Contrast checker → · Palette generator →

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