#503F97#503F97

#503F97 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.4% C 0.138 H 288.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#503F97
RGBrgb(80, 63, 151)
HSLhsl(252, 41%, 42%)
HSVhsv(252, 58%, 59%)
CMYKcmyk(47%, 58.3%, 0%, 40.8%)
CIE-LABlab(32.91, 30.40, -46.05)
CIE-LCHlch(32.91, 55.17, 303.43°)
OKLaboklab(43.42% 0.043 -0.1314)
OKLCHoklch(43.42% 0.138 288.1)
XYZxyz(10.6701, 7.4944, 30.1565)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F97 #86973F
analogous
#3F5A97 #503F97 #7C3F97
triadic
#503F97 #97503F #3F9750
tetradic
#503F97 #973F5A #86973F #3F977C
square
#503F97 #973F5A #86973F #3F977C
split-complementary
#503F97 #977C3F #5A973F
monochromatic
#221B41 #392D6C #503F97 #6C59BA #9285CC

Accessibility & contrast

On white

8.40
#503F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#503F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F97
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F97#FFFFFF#000000##FFFFFF
##503F971.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F9A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#395365
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503f97;
/* rgb */ color: rgb(80, 63, 151);
/* oklch */ color: oklch(43.4% 0.138 288.1);
Tailwind
colors: {
  custom: {
    50: '#8674b6',
    500: '#503f97',
    950: '#000000',
  },
}
SCSS
$custom: #503f97;
$custom-light: #8674b6;
$custom-dark: #000000;
JSON
{
  "hex": "#503f97",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 251.591,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.13823,
    "h": 288.1
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#503F97
secondary
#ABB67C
accent
#D157B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503F97

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

Preview Lab → · Contrast checker → · Palette generator →

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