#503B95#503B95

#503B95 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.6% C 0.141 H 289.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#503B95
RGBrgb(80, 59, 149)
HSLhsl(254, 43%, 41%)
HSVhsv(254, 60%, 58%)
CMYKcmyk(46.3%, 60.4%, 0%, 41.6%)
CIE-LABlab(31.81, 32.25, -46.59)
CIE-LCHlch(31.81, 56.67, 304.69°)
OKLaboklab(42.57% 0.0478 -0.133)
OKLCHoklch(42.57% 0.141 289.8)
XYZxyz(10.2955, 7.0030, 29.2372)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B95 #80953B
analogous
#3B5395 #503B95 #7D3B95
triadic
#503B95 #95503B #3B9550
tetradic
#503B95 #953B53 #80953B #3B957D
square
#503B95 #953B53 #80953B #3B957D
split-complementary
#503B95 #957D3B #53953B
monochromatic
#21183D #382A69 #503B95 #6B53BB #907ECC

Accessibility & contrast

On white

8.75
#503B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#503B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B95
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B95#FFFFFF#000000##FFFFFF
##503B951.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#3B4F62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503b95;
/* rgb */ color: rgb(80, 59, 149);
/* oklch */ color: oklch(42.6% 0.141 289.8);
Tailwind
colors: {
  custom: {
    50: '#8672b5',
    500: '#503b95',
    950: '#000000',
  },
}
SCSS
$custom: #503b95;
$custom-light: #8672b5;
$custom-dark: #000000;
JSON
{
  "hex": "#503b95",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 254,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.14134,
    "h": 289.8
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#503B95
secondary
#A7B676
accent
#D355B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503B95

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

Preview Lab → · Contrast checker → · Palette generator →

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