#503F8D#503F8D

#503F8D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.7% C 0.124 H 290.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#503F8D
RGBrgb(80, 63, 141)
HSLhsl(253, 38%, 40%)
HSVhsv(253, 55%, 55%)
CMYKcmyk(43.3%, 55.3%, 0%, 44.7%)
CIE-LABlab(32.22, 27.34, -41.04)
CIE-LCHlch(32.22, 49.31, 303.68°)
OKLaboklab(42.7% 0.0428 -0.1166)
OKLCHoklch(42.7% 0.124 290.2)
XYZxyz(9.8922, 7.1833, 26.0594)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F8D #7C8D3F
analogous
#3F558D #503F8D #773F8D
triadic
#503F8D #8D503F #3F8D50
tetradic
#503F8D #8D3F55 #7C8D3F #3F8D77
square
#503F8D #8D3F55 #7C8D3F #3F8D77
split-complementary
#503F8D #8D773F #558D3F
monochromatic
#201938 #382C63 #503F8D #6A56B3 #8F80C6

Accessibility & contrast

On white

8.62
#503F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#503F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F8D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F8D#FFFFFF#000000##FFFFFF
##503F8D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#3F505F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503f8d;
/* rgb */ color: rgb(80, 63, 141);
/* oklch */ color: oklch(42.7% 0.124 290.2);
Tailwind
colors: {
  custom: {
    50: '#8574af',
    500: '#503f8d',
    950: '#000000',
  },
}
SCSS
$custom: #503f8d;
$custom-light: #8574af;
$custom-dark: #000000;
JSON
{
  "hex": "#503f8d",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 253.077,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.12425,
    "h": 290.2
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#503F8D
secondary
#A4B177
accent
#CE5AB5
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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