#503EA9#503EA9

#503EA9 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.164 H 285.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#503EA9
RGBrgb(80, 62, 169)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 66%)
CMYKcmyk(52.7%, 63.3%, 0%, 33.7%)
CIE-LABlab(34.01, 36.58, -55.11)
CIE-LCHlch(34.01, 66.15, 303.57°)
OKLaboklab(44.66% 0.0434 -0.158)
OKLCHoklch(44.66% 0.164 285.3)
XYZxyz(12.1902, 8.0147, 38.4331)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA9 #97A93E
analogous
#3E62A9 #503EA9 #853EA9
triadic
#503EA9 #A9503E #3EA950
tetradic
#503EA9 #A93E62 #97A93E #3EA985
square
#503EA9 #A93E62 #97A93E #3EA985
split-complementary
#503EA9 #A9853E #62A93E
monochromatic
#261D4F #3B2E7C #503EA9 #7160C5 #998CD5

Accessibility & contrast

On white

8.07
#503EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA9#FFFFFF#000000##FFFFFF
##503EA91.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#2D586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ea9;
/* rgb */ color: rgb(80, 62, 169);
/* oklch */ color: oklch(44.7% 0.164 285.3);
Tailwind
colors: {
  custom: {
    50: '#8974c3',
    500: '#503ea9',
    950: '#000000',
  },
}
SCSS
$custom: #503ea9;
$custom-light: #8974c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea9",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 250.093,
    "s": 46.32,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.16389,
    "h": 285.3
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#503EA9
secondary
#B6C083
accent
#D652C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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