#503189#503189

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

Color values

HEX#503189
RGBrgb(80, 49, 137)
HSLhsl(261, 47%, 36%)
HSVhsv(261, 64%, 54%)
CMYKcmyk(41.6%, 64.2%, 0%, 46.3%)
CIE-LABlab(28.66, 34.71, -44.30)
CIE-LCHlch(28.66, 56.28, 308.08°)
OKLaboklab(39.99% 0.0605 -0.1262)
OKLCHoklch(39.99% 0.14 295.6)
XYZxyz(8.9208, 5.7081, 24.2938)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503189 #6A8931
analogous
#313E89 #503189 #7C3189
triadic
#503189 #895031 #318950
tetradic
#503189 #89313E #6A8931 #31897C
square
#503189 #89313E #6A8931 #31897C
split-complementary
#503189 #897C31 #3E8931
monochromatic
#1B112F #36215C #503189 #6A41B6 #8C6BCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##503189#FFFFFF#000000##FFFFFF
##5031891.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)
#00448C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#414558
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #503189;
/* rgb */ color: rgb(80, 49, 137);
/* oklch */ color: oklch(40.0% 0.140 295.6);
Tailwind
colors: {
  custom: {
    50: '#866bac',
    500: '#503189',
    950: '#000000',
  },
}
SCSS
$custom: #503189;
$custom-light: #866bac;
$custom-dark: #000000;
JSON
{
  "hex": "#503189",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 261.136,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.14,
    "h": 295.6
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#503189
secondary
#96B164
accent
#D751A8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503189

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

Preview Lab → · Contrast checker → · Palette generator →

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