#503282#503282

#503282 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.129 H 297.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#503282
RGBrgb(80, 50, 130)
HSLhsl(263, 44%, 35%)
HSVhsv(263, 62%, 51%)
CMYKcmyk(38.5%, 61.5%, 0%, 49%)
CIE-LABlab(28.38, 32.12, -40.40)
CIE-LCHlch(28.38, 51.61, 308.49°)
OKLaboklab(39.62% 0.0596 -0.1148)
OKLCHoklch(39.62% 0.129 297.4)
XYZxyz(8.4771, 5.5983, 21.7487)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503282 #648232
analogous
#323C82 #503282 #783282
triadic
#503282 #825032 #328250
tetradic
#503282 #82323C #648232 #328278
square
#503282 #82323C #648232 #328278
split-complementary
#503282 #827832 #3C8232
monochromatic
#1A102A #352156 #503282 #6B43AE #8C69C5

Accessibility & contrast

On white

9.91
#503282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#503282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503282
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503282#FFFFFF#000000##FFFFFF
##5032821.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#124280
Tritanopia (blue-blind)
#444355
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503282;
/* rgb */ color: rgb(80, 50, 130);
/* oklch */ color: oklch(39.6% 0.129 297.4);
Tailwind
colors: {
  custom: {
    50: '#856ba7',
    500: '#503282',
    950: '#000000',
  },
}
SCSS
$custom: #503282;
$custom-light: #856ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#503282",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 262.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.12935,
    "h": 297.4
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#503282
secondary
#91AD63
accent
#D454A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #503282

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

Preview Lab → · Contrast checker → · Palette generator →

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