#503E8A#503E8A

#503E8A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.3% C 0.122 H 291.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#503E8A
RGBrgb(80, 62, 138)
HSLhsl(254, 38%, 39%)
HSVhsv(254, 55%, 54%)
CMYKcmyk(42%, 55.1%, 0%, 45.9%)
CIE-LABlab(31.77, 27.07, -39.91)
CIE-LCHlch(31.77, 48.22, 304.15°)
OKLaboklab(42.3% 0.044 -0.1133)
OKLCHoklch(42.3% 0.122 291.2)
XYZxyz(9.6171, 6.9854, 24.8814)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E8A #788A3E
analogous
#3E528A #503E8A #763E8A
triadic
#503E8A #8A503E #3E8A50
tetradic
#503E8A #8A3E52 #788A3E #3E8A76
square
#503E8A #8A3E52 #788A3E #3E8A76
split-complementary
#503E8A #8A763E #528A3E
monochromatic
#1F1836 #382B60 #503E8A #6A53B2 #8E7EC5

Accessibility & contrast

On white

8.76
#503E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#503E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E8A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E8A#FFFFFF#000000##FFFFFF
##503E8A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#404E5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503e8a;
/* rgb */ color: rgb(80, 62, 138);
/* oklch */ color: oklch(42.3% 0.122 291.2);
Tailwind
colors: {
  custom: {
    50: '#8574ad',
    500: '#503e8a',
    950: '#000000',
  },
}
SCSS
$custom: #503e8a;
$custom-light: #8574ad;
$custom-dark: #000000;
JSON
{
  "hex": "#503e8a",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 254.211,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.423,
    "c": 0.12157,
    "h": 291.2
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#503E8A
secondary
#A1AF75
accent
#CE5AB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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