#503281#503281

#503281 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.128 H 297.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#503281
RGBrgb(80, 50, 129)
HSLhsl(263, 44%, 35%)
HSVhsv(263, 61%, 51%)
CMYKcmyk(38%, 61.2%, 0%, 49.4%)
CIE-LABlab(28.30, 31.84, -39.89)
CIE-LCHlch(28.30, 51.04, 308.60°)
OKLaboklab(39.55% 0.0597 -0.1133)
OKLCHoklch(39.55% 0.128 297.8)
XYZxyz(8.4103, 5.5715, 21.3969)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503281 #638132
analogous
#323B81 #503281 #783281
triadic
#503281 #815032 #328150
tetradic
#503281 #81323B #638132 #328178
square
#503281 #81323B #638132 #328178
split-complementary
#503281 #817832 #3B8132
monochromatic
#191029 #352155 #503281 #6B43AD #8C69C5

Accessibility & contrast

On white

9.93
#503281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#503281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503281
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503281#FFFFFF#000000##FFFFFF
##5032811.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034384
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#454354
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503281;
/* rgb */ color: rgb(80, 50, 129);
/* oklch */ color: oklch(39.5% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#856ba6',
    500: '#503281',
    950: '#000000',
  },
}
SCSS
$custom: #503281;
$custom-light: #856ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#503281",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 262.785,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.12803,
    "h": 297.8
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#503281
secondary
#90AC62
accent
#D454A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #503281

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

Preview Lab → · Contrast checker → · Palette generator →

#503281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva