#503BA2#503BA2

#503BA2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.159 H 287.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#503BA2
RGBrgb(80, 59, 162)
HSLhsl(252, 47%, 43%)
HSVhsv(252, 64%, 64%)
CMYKcmyk(50.6%, 63.6%, 0%, 36.5%)
CIE-LABlab(32.79, 36.21, -52.90)
CIE-LCHlch(32.79, 64.10, 304.40°)
OKLaboklab(43.6% 0.0471 -0.1515)
OKLCHoklch(43.6% 0.159 287.3)
XYZxyz(11.3919, 7.4415, 35.0115)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BA2 #8DA23B
analogous
#3B59A2 #503BA2 #833BA2
triadic
#503BA2 #A2503B #3BA250
tetradic
#503BA2 #A23B59 #8DA23B #3BA283
square
#503BA2 #A23B59 #8DA23B #3BA283
split-complementary
#503BA2 #A2833B #59A23B
monochromatic
#241A48 #3A2B75 #503BA2 #6E58C2 #9585D3

Accessibility & contrast

On white

8.44
#503BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#503BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BA2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BA2#FFFFFF#000000##FFFFFF
##503BA21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#335469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503ba2;
/* rgb */ color: rgb(80, 59, 162);
/* oklch */ color: oklch(43.6% 0.159 287.3);
Tailwind
colors: {
  custom: {
    50: '#8872be',
    500: '#503ba2',
    950: '#000000',
  },
}
SCSS
$custom: #503ba2;
$custom-light: #8872be;
$custom-dark: #000000;
JSON
{
  "hex": "#503ba2",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 252.233,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.15868,
    "h": 287.3
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#503BA2
secondary
#AFBD7C
accent
#D652BB
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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