#503294#503294

#503294 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.153 H 292.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#503294
RGBrgb(80, 50, 148)
HSLhsl(258, 49%, 39%)
HSVhsv(258, 66%, 58%)
CMYKcmyk(45.9%, 66.2%, 0%, 42%)
CIE-LABlab(29.72, 37.31, -49.37)
CIE-LCHlch(29.72, 61.88, 307.08°)
OKLaboklab(41.03% 0.0583 -0.1411)
OKLCHoklch(41.03% 0.153 292.4)
XYZxyz(9.7927, 6.1245, 28.6774)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503294 #769432
analogous
#324594 #503294 #813294
triadic
#503294 #945032 #329450
tetradic
#503294 #943245 #769432 #329481
square
#503294 #943245 #769432 #329481
split-complementary
#503294 #948132 #459432
monochromatic
#1F1339 #372366 #503294 #6A44C0 #8E71CF

Accessibility & contrast

On white

9.44
#503294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#503294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503294
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503294#FFFFFF#000000##FFFFFF
##5032941.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#3C495E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503294;
/* rgb */ color: rgb(80, 50, 148);
/* oklch */ color: oklch(41.0% 0.153 292.4);
Tailwind
colors: {
  custom: {
    50: '#876cb4',
    500: '#503294',
    950: '#000000',
  },
}
SCSS
$custom: #503294;
$custom-light: #876cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#503294",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 258.367,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.15271,
    "h": 292.4
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#503294
secondary
#A0B76B
accent
#D94FAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503294

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

Preview Lab → · Contrast checker → · Palette generator →

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