#503A92#503A92

#503A92 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.139 H 290.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#503A92
RGBrgb(80, 58, 146)
HSLhsl(255, 43%, 40%)
HSVhsv(255, 60%, 57%)
CMYKcmyk(45.2%, 60.3%, 0%, 42.7%)
CIE-LABlab(31.36, 31.96, -45.49)
CIE-LCHlch(31.36, 55.59, 305.09°)
OKLaboklab(42.17% 0.0491 -0.1297)
OKLCHoklch(42.17% 0.139 290.7)
XYZxyz(10.0082, 6.8066, 27.9750)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A92 #7C923A
analogous
#3A5092 #503A92 #7C3A92
triadic
#503A92 #92503A #3A9250
tetradic
#503A92 #923A50 #7C923A #3A927C
square
#503A92 #923A50 #7C923A #3A927C
split-complementary
#503A92 #927C3A #50923A
monochromatic
#20173A #382966 #503A92 #6A50B9 #8F7CCB

Accessibility & contrast

On white

8.89
#503A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#503A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A92
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A92#FFFFFF#000000##FFFFFF
##503A921.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503a92;
/* rgb */ color: rgb(80, 58, 146);
/* oklch */ color: oklch(42.2% 0.139 290.7);
Tailwind
colors: {
  custom: {
    50: '#8671b3',
    500: '#503a92',
    950: '#000000',
  },
}
SCSS
$custom: #503a92;
$custom-light: #8671b3;
$custom-dark: #000000;
JSON
{
  "hex": "#503a92",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 255,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.42173,
    "c": 0.13873,
    "h": 290.7
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#503A92
secondary
#A4B474
accent
#D355B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503A92

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

Preview Lab → · Contrast checker → · Palette generator →

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