#503276#503276

#503276 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.8% C 0.113 H 301.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#503276
RGBrgb(80, 50, 118)
HSLhsl(266, 40%, 33%)
HSVhsv(266, 58%, 46%)
CMYKcmyk(32.2%, 57.6%, 0%, 53.7%)
CIE-LABlab(27.56, 28.77, -34.16)
CIE-LCHlch(27.56, 44.66, 310.10°)
OKLaboklab(38.76% 0.0596 -0.0965)
OKLCHoklch(38.76% 0.113 301.7)
XYZxyz(7.7181, 5.2947, 17.7514)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503276 #587632
analogous
#323676 #503276 #723276
triadic
#503276 #765032 #327650
tetradic
#503276 #763236 #587632 #327672
square
#503276 #763236 #587632 #327672
split-complementary
#503276 #767232 #367632
monochromatic
#160E20 #33204B #503276 #6D44A1 #8C65BE

Accessibility & contrast

On white

10.20
#503276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#503276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503276
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503276#FFFFFF#000000##FFFFFF
##5032761.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#493F4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #503276;
/* rgb */ color: rgb(80, 50, 118);
/* oklch */ color: oklch(38.8% 0.113 301.7);
Tailwind
colors: {
  custom: {
    50: '#846b9e',
    500: '#503276',
    950: '#000000',
  },
}
SCSS
$custom: #503276;
$custom-light: #846b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#503276",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 266.471,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.11338,
    "h": 301.7
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#503276
secondary
#86A55E
accent
#D0579B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #503276

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

Preview Lab → · Contrast checker → · Palette generator →

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