#503191#503191

#503191 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.150 H 293.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#503191
RGBrgb(80, 49, 145)
HSLhsl(259, 49%, 38%)
HSVhsv(259, 66%, 57%)
CMYKcmyk(44.8%, 66.2%, 0%, 43.1%)
CIE-LABlab(29.28, 37.01, -48.25)
CIE-LCHlch(29.28, 60.81, 307.49°)
OKLaboklab(40.63% 0.0598 -0.1379)
OKLCHoklch(40.63% 0.15 293.4)
XYZxyz(9.5160, 5.9462, 27.4289)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503191 #729131
analogous
#314291 #503191 #803191
triadic
#503191 #915031 #319150
tetradic
#503191 #913142 #729131 #319180
square
#503191 #913142 #729131 #319180
split-complementary
#503191 #918031 #429131
monochromatic
#1E1236 #372263 #503191 #6941BF #8D6ECE

Accessibility & contrast

On white

9.59
#503191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#503191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503191
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503191#FFFFFF#000000##FFFFFF
##5031911.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#3E485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #503191;
/* rgb */ color: rgb(80, 49, 145);
/* oklch */ color: oklch(40.6% 0.150 293.4);
Tailwind
colors: {
  custom: {
    50: '#876bb2',
    500: '#503191',
    950: '#000000',
  },
}
SCSS
$custom: #503191;
$custom-light: #876bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#503191",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 259.375,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4063,
    "c": 0.15026,
    "h": 293.4
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#503191
secondary
#9DB668
accent
#D94FAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503191

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

Preview Lab → · Contrast checker → · Palette generator →

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