#503E9F#503E9F

#503E9F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.151 H 287.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#503E9F
RGBrgb(80, 62, 159)
HSLhsl(251, 44%, 43%)
HSVhsv(251, 61%, 62%)
CMYKcmyk(49.7%, 61%, 0%, 37.6%)
CIE-LABlab(33.25, 33.48, -50.34)
CIE-LCHlch(33.25, 60.46, 303.63°)
OKLaboklab(43.86% 0.044 -0.144)
OKLCHoklch(43.86% 0.151 287)
XYZxyz(11.2871, 7.6534, 33.6767)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E9F #8D9F3E
analogous
#3E5C9F #503E9F #803E9F
triadic
#503E9F #9F503E #3E9F50
tetradic
#503E9F #9F3E5C #8D9F3E #3E9F80
square
#503E9F #9F3E5C #8D9F3E #3E9F80
split-complementary
#503E9F #9F803E #5C9F3E
monochromatic
#241C47 #3A2D73 #503E9F #6E5BBF #9587D0

Accessibility & contrast

On white

8.30
#503E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#503E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E9F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E9F#FFFFFF#000000##FFFFFF
##503E9F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#355468
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503e9f;
/* rgb */ color: rgb(80, 62, 159);
/* oklch */ color: oklch(43.9% 0.151 287.0);
Tailwind
colors: {
  custom: {
    50: '#8874bc',
    500: '#503e9f',
    950: '#000000',
  },
}
SCSS
$custom: #503e9f;
$custom-light: #8874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#503e9f",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 251.134,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.15058,
    "h": 287
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#503E9F
secondary
#AFBB7E
accent
#D454BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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