#503C92#503C92

#503C92 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.5% C 0.136 H 290.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#503C92
RGBrgb(80, 60, 146)
HSLhsl(254, 42%, 40%)
HSVhsv(254, 59%, 57%)
CMYKcmyk(45.2%, 58.9%, 0%, 42.7%)
CIE-LABlab(31.83, 30.73, -44.72)
CIE-LCHlch(31.83, 54.26, 304.49°)
OKLaboklab(42.52% 0.0467 -0.1275)
OKLCHoklch(42.52% 0.136 290.1)
XYZxyz(10.1110, 7.0122, 28.0093)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C92 #7E923C
analogous
#3C5392 #503C92 #7B3C92
triadic
#503C92 #92503C #3C9250
tetradic
#503C92 #923C53 #7E923C #3C927B
square
#503C92 #923C53 #7E923C #3C927B
split-complementary
#503C92 #927B3C #53923C
monochromatic
#20183B #382A67 #503C92 #6A53B8 #907ECA

Accessibility & contrast

On white

8.74
#503C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503C92
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C92#FFFFFF#000000##FFFFFF
##503C921.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C95
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#3C4F61
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503c92;
/* rgb */ color: rgb(80, 60, 146);
/* oklch */ color: oklch(42.5% 0.136 290.1);
Tailwind
colors: {
  custom: {
    50: '#8672b3',
    500: '#503c92',
    950: '#000000',
  },
}
SCSS
$custom: #503c92;
$custom-light: #8672b3;
$custom-dark: #000000;
JSON
{
  "hex": "#503c92",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 253.953,
    "s": 41.748,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.13577,
    "h": 290.1
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#503C92
secondary
#A5B476
accent
#D256B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503C92

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

Preview Lab → · Contrast checker → · Palette generator →

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