#503279#503279

#503279 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.117 H 300.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#503279
RGBrgb(80, 50, 121)
HSLhsl(265, 42%, 34%)
HSVhsv(265, 59%, 47%)
CMYKcmyk(33.9%, 58.7%, 0%, 52.5%)
CIE-LABlab(27.76, 29.59, -35.74)
CIE-LCHlch(27.76, 46.40, 309.63°)
OKLaboklab(38.97% 0.0597 -0.1011)
OKLCHoklch(38.97% 0.117 300.5)
XYZxyz(7.8992, 5.3671, 18.7052)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503279 #5B7932
analogous
#323779 #503279 #733279
triadic
#503279 #795032 #327950
tetradic
#503279 #793237 #5B7932 #327973
square
#503279 #793237 #5B7932 #327973
split-complementary
#503279 #797332 #377932
monochromatic
#170E22 #33204E #503279 #6D44A4 #8C66C0

Accessibility & contrast

On white

10.13
#503279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#503279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503279
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503279#FFFFFF#000000##FFFFFF
##5032791.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#484050
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #503279;
/* rgb */ color: rgb(80, 50, 121);
/* oklch */ color: oklch(39.0% 0.117 300.5);
Tailwind
colors: {
  custom: {
    50: '#846ba0',
    500: '#503279',
    950: '#000000',
  },
}
SCSS
$custom: #503279;
$custom-light: #846ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#503279",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 265.352,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.1174,
    "h": 300.5
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#503279
secondary
#89A75F
accent
#D1569D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #503279

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

Preview Lab → · Contrast checker → · Palette generator →

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