#503F95#503F95

#503F95 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.3% C 0.135 H 288.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#503F95
RGBrgb(80, 63, 149)
HSLhsl(252, 41%, 42%)
HSVhsv(252, 58%, 58%)
CMYKcmyk(46.3%, 57.7%, 0%, 41.6%)
CIE-LABlab(32.77, 29.78, -45.05)
CIE-LCHlch(32.77, 54.01, 303.47°)
OKLaboklab(43.27% 0.043 -0.1285)
OKLCHoklch(43.27% 0.135 288.5)
XYZxyz(10.5090, 7.4300, 29.3084)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F95 #84953F
analogous
#3F5995 #503F95 #7B3F95
triadic
#503F95 #95503F #3F9550
tetradic
#503F95 #953F59 #84953F #3F957B
square
#503F95 #953F59 #84953F #3F957B
split-complementary
#503F95 #957B3F #59953F
monochromatic
#221B3F #392D6A #503F95 #6C59B9 #9284CB

Accessibility & contrast

On white

8.45
#503F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#503F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F95
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F95#FFFFFF#000000##FFFFFF
##503F951.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#0C4B93
Tritanopia (blue-blind)
#3B5263
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503f95;
/* rgb */ color: rgb(80, 63, 149);
/* oklch */ color: oklch(43.3% 0.135 288.5);
Tailwind
colors: {
  custom: {
    50: '#8674b5',
    500: '#503f95',
    950: '#000000',
  },
}
SCSS
$custom: #503f95;
$custom-light: #8674b5;
$custom-dark: #000000;
JSON
{
  "hex": "#503f95",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 251.86,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.13547,
    "h": 288.5
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#503F95
secondary
#AAB57B
accent
#D057B8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503F95

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

Preview Lab → · Contrast checker → · Palette generator →

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