#503DA0#503DA0

#503DA0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.153 H 287.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#503DA0
RGBrgb(80, 61, 160)
HSLhsl(252, 45%, 43%)
HSVhsv(252, 62%, 63%)
CMYKcmyk(50%, 61.9%, 0%, 37.3%)
CIE-LABlab(33.09, 34.39, -51.20)
CIE-LCHlch(33.09, 61.68, 303.89°)
OKLaboklab(43.77% 0.0451 -0.1465)
OKLCHoklch(43.77% 0.153 287.1)
XYZxyz(11.3203, 7.5805, 34.1176)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DA0 #8DA03D
analogous
#3D5BA0 #503DA0 #813DA0
triadic
#503DA0 #A0503D #3DA050
tetradic
#503DA0 #A03D5B #8DA03D #3DA081
square
#503DA0 #A03D5B #8DA03D #3DA081
split-complementary
#503DA0 #A0813D #5BA03D
monochromatic
#241B47 #3A2C74 #503DA0 #6E5AC0 #9586D1

Accessibility & contrast

On white

8.35
#503DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#503DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DA0
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DA0#FFFFFF#000000##FFFFFF
##503DA01.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#345468
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503da0;
/* rgb */ color: rgb(80, 61, 160);
/* oklch */ color: oklch(43.8% 0.153 287.1);
Tailwind
colors: {
  custom: {
    50: '#8873bd',
    500: '#503da0',
    950: '#000000',
  },
}
SCSS
$custom: #503da0;
$custom-light: #8873bd;
$custom-dark: #000000;
JSON
{
  "hex": "#503da0",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 251.515,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.15331,
    "h": 287.1
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#503DA0
secondary
#AFBB7D
accent
#D453BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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