#503B92#503B92

#503B92 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.3% C 0.137 H 290.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#503B92
RGBrgb(80, 59, 146)
HSLhsl(254, 42%, 40%)
HSVhsv(254, 60%, 57%)
CMYKcmyk(45.2%, 59.6%, 0%, 42.7%)
CIE-LABlab(31.60, 31.35, -45.11)
CIE-LCHlch(31.60, 54.93, 304.80°)
OKLaboklab(42.35% 0.0479 -0.1286)
OKLCHoklch(42.35% 0.137 290.4)
XYZxyz(10.0591, 6.9084, 27.9920)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B92 #7D923B
analogous
#3B5192 #503B92 #7C3B92
triadic
#503B92 #92503B #3B9250
tetradic
#503B92 #923B51 #7D923B #3B927C
square
#503B92 #923B51 #7D923B #3B927C
split-complementary
#503B92 #927C3B #51923B
monochromatic
#20183B #382966 #503B92 #6A51B9 #907DCA

Accessibility & contrast

On white

8.82
#503B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#503B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B92
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B92#FFFFFF#000000##FFFFFF
##503B921.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#054890
Tritanopia (blue-blind)
#3D4E60
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503b92;
/* rgb */ color: rgb(80, 59, 146);
/* oklch */ color: oklch(42.3% 0.137 290.4);
Tailwind
colors: {
  custom: {
    50: '#8672b3',
    500: '#503b92',
    950: '#000000',
  },
}
SCSS
$custom: #503b92;
$custom-light: #8672b3;
$custom-dark: #000000;
JSON
{
  "hex": "#503b92",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 146
  },
  "hsl": {
    "h": 254.483,
    "s": 42.439,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.13726,
    "h": 290.4
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#503B92
secondary
#A5B475
accent
#D256B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503B92

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

Preview Lab → · Contrast checker → · Palette generator →

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