#503F92#503F92

#503F92 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.1% C 0.131 H 289.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#503F92
RGBrgb(80, 63, 146)
HSLhsl(252, 40%, 41%)
HSVhsv(252, 57%, 57%)
CMYKcmyk(45.2%, 56.8%, 0%, 42.7%)
CIE-LABlab(32.56, 28.86, -43.56)
CIE-LCHlch(32.56, 52.25, 303.53°)
OKLaboklab(43.05% 0.043 -0.124)
OKLCHoklch(43.05% 0.131 289.1)
XYZxyz(10.2726, 7.3354, 28.0632)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F92 #81923F
analogous
#3F5792 #503F92 #793F92
triadic
#503F92 #92503F #3F9250
tetradic
#503F92 #923F57 #81923F #3F9279
square
#503F92 #923F57 #81923F #3F9279
split-complementary
#503F92 #92793F #57923F
monochromatic
#211A3C #392D67 #503F92 #6B57B7 #9182C9

Accessibility & contrast

On white

8.51
#503F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#503F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F92
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F92#FFFFFF#000000##FFFFFF
##503F921.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#134B90
Tritanopia (blue-blind)
#3C5162
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503f92;
/* rgb */ color: rgb(80, 63, 146);
/* oklch */ color: oklch(43.1% 0.131 289.1);
Tailwind
colors: {
  custom: {
    50: '#8674b2',
    500: '#503f92',
    950: '#000000',
  },
}
SCSS
$custom: #503f92;
$custom-light: #8674b2;
$custom-dark: #000000;
JSON
{
  "hex": "#503f92",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 252.289,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.13128,
    "h": 289.1
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#503F92
secondary
#A8B379
accent
#D058B7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #503F92

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

Preview Lab → · Contrast checker → · Palette generator →

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