#503E90#503E90

#503E90 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.7% C 0.130 H 289.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#503E90
RGBrgb(80, 62, 144)
HSLhsl(253, 40%, 40%)
HSVhsv(253, 57%, 56%)
CMYKcmyk(44.4%, 56.9%, 0%, 43.5%)
CIE-LABlab(32.18, 28.88, -42.95)
CIE-LCHlch(32.18, 51.75, 303.92°)
OKLaboklab(42.73% 0.0442 -0.1223)
OKLCHoklch(42.73% 0.13 289.9)
XYZxyz(10.0635, 7.1640, 27.2327)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E90 #7E903E
analogous
#3E5590 #503E90 #793E90
triadic
#503E90 #90503E #3E9050
tetradic
#503E90 #903E55 #7E903E #3E9079
square
#503E90 #903E55 #7E903E #3E9079
split-complementary
#503E90 #90793E #55903E
monochromatic
#20193A #382C65 #503E90 #6A55B6 #9080C8

Accessibility & contrast

On white

8.63
#503E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#503E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E90
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E90#FFFFFF#000000##FFFFFF
##503E901.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D93
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#3D5061
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503e90;
/* rgb */ color: rgb(80, 62, 144);
/* oklch */ color: oklch(42.7% 0.130 289.9);
Tailwind
colors: {
  custom: {
    50: '#8674b1',
    500: '#503e90',
    950: '#000000',
  },
}
SCSS
$custom: #503e90;
$custom-light: #8674b1;
$custom-dark: #000000;
JSON
{
  "hex": "#503e90",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 253.171,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.13,
    "h": 289.9
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#503E90
secondary
#A5B277
accent
#D058B5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #503E90

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

Preview Lab → · Contrast checker → · Palette generator →

#503E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva