#503293#503293

#503293 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.151 H 292.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#503293
RGBrgb(80, 50, 147)
HSLhsl(259, 49%, 39%)
HSVhsv(259, 66%, 58%)
CMYKcmyk(45.6%, 66%, 0%, 42.4%)
CIE-LABlab(29.65, 37.02, -48.88)
CIE-LCHlch(29.65, 61.32, 307.14°)
OKLaboklab(40.95% 0.0584 -0.1397)
OKLCHoklch(40.95% 0.151 292.7)
XYZxyz(9.7139, 6.0930, 28.2624)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503293 #759332
analogous
#324493 #503293 #803293
triadic
#503293 #935032 #329350
tetradic
#503293 #933244 #759332 #329380
square
#503293 #933244 #759332 #329380
split-complementary
#503293 #938032 #449332
monochromatic
#1E1338 #372265 #503293 #6943BF #8E71CF

Accessibility & contrast

On white

9.47
#503293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#503293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503293
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503293#FFFFFF#000000##FFFFFF
##5032931.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#3D495E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503293;
/* rgb */ color: rgb(80, 50, 147);
/* oklch */ color: oklch(40.9% 0.151 292.7);
Tailwind
colors: {
  custom: {
    50: '#876cb3',
    500: '#503293',
    950: '#000000',
  },
}
SCSS
$custom: #503293;
$custom-light: #876cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#503293",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 258.557,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40946,
    "c": 0.15143,
    "h": 292.7
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#503293
secondary
#9FB76A
accent
#D94FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503293

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

Preview Lab → · Contrast checker → · Palette generator →

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