#503D95#503D95

#503D95 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.9% C 0.138 H 289.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#503D95
RGBrgb(80, 61, 149)
HSLhsl(253, 42%, 41%)
HSVhsv(253, 59%, 58%)
CMYKcmyk(46.3%, 59.1%, 0%, 41.6%)
CIE-LABlab(32.29, 31.02, -45.83)
CIE-LCHlch(32.29, 55.34, 304.09°)
OKLaboklab(42.92% 0.0455 -0.1307)
OKLCHoklch(42.92% 0.138 289.2)
XYZxyz(10.4003, 7.2125, 29.2721)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D95 #82953D
analogous
#3D5695 #503D95 #7C3D95
triadic
#503D95 #95503D #3D9550
tetradic
#503D95 #953D56 #82953D #3D957C
square
#503D95 #953D56 #82953D #3D957C
split-complementary
#503D95 #957C3D #56953D
monochromatic
#21193E #392B6A #503D95 #6B56BA #9181CB

Accessibility & contrast

On white

8.60
#503D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503D95
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D95#FFFFFF#000000##FFFFFF
##503D951.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#044A93
Tritanopia (blue-blind)
#3B5163
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503d95;
/* rgb */ color: rgb(80, 61, 149);
/* oklch */ color: oklch(42.9% 0.138 289.2);
Tailwind
colors: {
  custom: {
    50: '#8673b5',
    500: '#503d95',
    950: '#000000',
  },
}
SCSS
$custom: #503d95;
$custom-light: #8673b5;
$custom-dark: #000000;
JSON
{
  "hex": "#503d95",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 252.955,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.13841,
    "h": 289.2
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#503D95
secondary
#A8B578
accent
#D256B7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503D95

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

Preview Lab → · Contrast checker → · Palette generator →

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