#503C8A#503C8A

#503C8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 41.9% C 0.125 H 292.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#503C8A
RGBrgb(80, 60, 138)
HSLhsl(255, 39%, 39%)
HSVhsv(255, 57%, 54%)
CMYKcmyk(42%, 56.5%, 0%, 45.9%)
CIE-LABlab(31.28, 28.32, -40.70)
CIE-LCHlch(31.28, 49.58, 304.84°)
OKLaboklab(41.94% 0.0466 -0.1156)
OKLCHoklch(41.94% 0.125 292)
XYZxyz(9.5103, 6.7719, 24.8459)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C8A #768A3C
analogous
#3C4F8A #503C8A #773C8A
triadic
#503C8A #8A503C #3C8A50
tetradic
#503C8A #8A3C4F #768A3C #3C8A77
square
#503C8A #8A3C4F #768A3C #3C8A77
split-complementary
#503C8A #8A773C #4F8A3C
monochromatic
#1F1735 #37295F #503C8A #6A50B3 #8E7BC6

Accessibility & contrast

On white

8.92
#503C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#503C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C8A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C8A#FFFFFF#000000##FFFFFF
##503C8A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#404D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503c8a;
/* rgb */ color: rgb(80, 60, 138);
/* oklch */ color: oklch(41.9% 0.125 292.0);
Tailwind
colors: {
  custom: {
    50: '#8572ad',
    500: '#503c8a',
    950: '#000000',
  },
}
SCSS
$custom: #503c8a;
$custom-light: #8572ad;
$custom-dark: #000000;
JSON
{
  "hex": "#503c8a",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 255.385,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.12469,
    "h": 292
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#503C8A
secondary
#A0AF73
accent
#CF59B1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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