#503B8D#503B8D

#503B8D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.0% C 0.130 H 291.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#503B8D
RGBrgb(80, 59, 141)
HSLhsl(255, 41%, 39%)
HSVhsv(255, 58%, 55%)
CMYKcmyk(43.3%, 58.2%, 0%, 44.7%)
CIE-LABlab(31.25, 29.84, -42.60)
CIE-LCHlch(31.25, 52.02, 305.01°)
OKLaboklab(41.97% 0.048 -0.1213)
OKLCHoklch(41.97% 0.13 291.6)
XYZxyz(9.6786, 6.7562, 25.9883)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B8D #788D3B
analogous
#3B4F8D #503B8D #793B8D
triadic
#503B8D #8D503B #3B8D50
tetradic
#503B8D #8D3B4F #788D3B #3B8D79
square
#503B8D #8D3B4F #788D3B #3B8D79
split-complementary
#503B8D #8D793B #4F8D3B
monochromatic
#1F1737 #382962 #503B8D #6A50B6 #8E7BC8

Accessibility & contrast

On white

8.93
#503B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#503B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B8D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B8D#FFFFFF#000000##FFFFFF
##503B8D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B90
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#3F4D5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503b8d;
/* rgb */ color: rgb(80, 59, 141);
/* oklch */ color: oklch(42.0% 0.130 291.6);
Tailwind
colors: {
  custom: {
    50: '#8572af',
    500: '#503b8d',
    950: '#000000',
  },
}
SCSS
$custom: #503b8d;
$custom-light: #8572af;
$custom-dark: #000000;
JSON
{
  "hex": "#503b8d",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 255.366,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.1304,
    "h": 291.6
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#503B8D
secondary
#A1B173
accent
#D157B2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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