#503194#503194

#503194 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.154 H 292.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#503194
RGBrgb(80, 49, 148)
HSLhsl(259, 50%, 39%)
HSVhsv(259, 67%, 58%)
CMYKcmyk(45.9%, 66.9%, 0%, 42%)
CIE-LABlab(29.51, 37.89, -49.71)
CIE-LCHlch(29.51, 62.50, 307.31°)
OKLaboklab(40.88% 0.0594 -0.1422)
OKLCHoklch(40.88% 0.154 292.7)
XYZxyz(9.7504, 6.0399, 28.6633)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503194 #759431
analogous
#314394 #503194 #813194
triadic
#503194 #945031 #319450
tetradic
#503194 #943143 #759431 #319481
square
#503194 #943143 #759431 #319481
split-complementary
#503194 #948131 #439431
monochromatic
#1E1338 #372266 #503194 #6942C0 #8E70D0

Accessibility & contrast

On white

9.51
#503194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#503194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503194
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503194#FFFFFF#000000##FFFFFF
##5031941.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#3C495E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503194;
/* rgb */ color: rgb(80, 49, 148);
/* oklch */ color: oklch(40.9% 0.154 292.7);
Tailwind
colors: {
  custom: {
    50: '#876bb4',
    500: '#503194',
    950: '#000000',
  },
}
SCSS
$custom: #503194;
$custom-light: #876bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#503194",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 258.788,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.15407,
    "h": 292.7
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#503194
secondary
#9FB769
accent
#DA4EAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503194

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

Preview Lab → · Contrast checker → · Palette generator →

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